我收到java.lang.ExceptionInInitializerError
例外。
有人知道为什么以及如何解决它?
java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
at java.util.concurrent.FutureTask.get(FutureTask.java:80)
at fr.zaz.j2eeoe.zozmodel.modelcomps.voretrieval.VoRetriever.getAllPlanVos(VoReiever.java:95)
at fr.zaz.j2eeoe.zozmodel.modelcomps.CarePlanTableModel.makeModelForDate(PlanTableModel.java:555)
at fr.zaz.j2eeoe.nursing.frame.AbstractCarePlanFrame.makeModelForDate(AbstractPlanFrame.java:2647)
at fr.zaz.j2eeoe.nursing.frame.AbstractCarePlanFrame.startFilling(AbstractPlanFrame.java:1300)
at fr.zaz.j2eeoe.daka.frame.AbstractPlanFrame.fireStartRequirementsChanged(AbstractPlanFrame.java:2631)
at fr.zaz.j2eeoe.daka.frame.AbstractPlanFrame.setPatient(AbstractPlanFrame.java:2771)
at fr.zaz.j2eeoe.daka.frame.AbstractPlanFrame.changeProperty(AbstractPlanFrame.java:2729)
at fr.zaz.util.TDistributer.addModule(TDistributer.java:112)
at fr.zaz.j2eeutil.gui.zazPanel.attachServerObjects(zazPanel.java:385)
at fr.zaz.util.TzazFrame.windowOpened(TzazFrame.java:141)
at fr.zaz.util.TzazFrame$WindowAdapter.windowOpened(TzazFrame.java:656)
at java.awt.Window.processWindowEvent(Window.java:1200)
at javax.swing.JFrame.processWindowEvent(JFrame.java:261)
at java.awt.Window.processEvent(Window.java:1161)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at fr.zaz.webutil.gui.WefrventQueue.dispatchEvent(WefrventQueue.java:59)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.ExceptionInInitializerError
at fr.zaz.j2ee.labo.delegates.LaboDelegate.<clinit>(LaboDelegate.java:6)
at fr.zaz.j2eeoe.dakamodel.modelcomps.voretrieval.FetchGlucoseTask.call(FetchGluTask.java:34)
at fr.zaz.j2eeoe.dakamodel.modelcomps.voretrieval.FetchGlucoseTask.call(FetchGluTask.java:21)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: problem creating session facade called Labo. Unable to resolve 'La.LaFacade'. Resolved 'Labo'
at fr.zaz.j2ee.arch.util.ServiceLocator.getSessionFacade(ServiceLocator.java:981)
at fr.zaz.j2ee.labo.delegates.LaboDelegateBaseImpl.<clinit>(LaboDelegateBaseImpl.java:74)
... 8 more
Caused by: javax.naming.NameNotFoundException: Unable to resolve 'La.LaFacade'. Resolved 'La' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'La.LaFacade'. Resolved 'La']; remaining name 'LaFacade'
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:221)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
at weblogic.jndi.internal.ServerNamingNode_1001_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:379)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at fr.zaz.j2ee.arch.util.ServiceLocator.getEJBHome(ServiceLocator.java:758)
at fr.zaz.j2ee.arch.util.ServiceLocator.getEJB2SessionFacade(ServiceLocator.java:990)
at fr.zaz.j2ee.arch.util.ServiceLocator.getSessionFacade(ServiceLocator.java:975)
... 9 more
Caused by: javax.naming.NameNotFoundException: Unable to resolve 'La.LaFacade'. Resolved 'La'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1138)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:251)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:205)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:213)
at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)