You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Robert Alexandersson <ro...@xdin.com> on 2010/06/03 11:29:33 UTC

Error parsing a big ejb application.

ERROR - FATAL ERROR: Unknown error in Assembler.  Please send the following stack trace and this message to users@openejb.apache.org :
 java.lang.NullPointerException
                at org.apache.openejb.config.EjbJarInfoBuilder.initMethodTransactions(EjbJarInfoBuilder.java:321)
                at org.apache.openejb.config.EjbJarInfoBuilder.buildInfo(EjbJarInfoBuilder.java:181)
                at org.apache.openejb.config.AppInfoBuilder.build(AppInfoBuilder.java:127)
                at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:604)
                at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:551)
                at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:380)
                at org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:299)
                at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:278)
                at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
                at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
                at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
                at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
                at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
                at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
                at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
                at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
                at javax.naming.InitialContext.init(InitialContext.java:223)
                at javax.naming.InitialContext.<init>(InitialContext.java:197)
                at EmbeddedContainerOpenEJBTestCase.init(EmbeddedContainerOpenEJBTestCase.java:45)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
                at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
                at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
                at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
                at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
                at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
                at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
                at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
                at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
                at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
                at com.intellij.rt.junit4.Junit4ClassSuite.run(Junit4ClassSuite.java:99)
                at junit.textui.TestRunner.doRun(TestRunner.java:116)
                at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:94)
                at junit.textui.TestRunner.doRun(TestRunner.java:109)
                at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:22)
                at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
                at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

FATAL - OpenEJB has encountered a fatal error and cannot be started: Assembler failed to build the container system.
org.apache.openejb.OpenEJBException: java.lang.NullPointerException: null
                at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:292)
                at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
                at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
                at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
                at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
                at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
                at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
                at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
                at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
                at javax.naming.InitialContext.init(InitialContext.java:223)
                at javax.naming.InitialContext.<init>(InitialContext.java:197)
                at EmbeddedContainerOpenEJBTestCase.init(EmbeddedContainerOpenEJBTestCase.java:45)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
                at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
                at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
                at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
                at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
                at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
                at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
                at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
                at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
                at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
                at com.intellij.rt.junit4.Junit4ClassSuite.run(Junit4ClassSuite.java:99)
                at junit.textui.TestRunner.doRun(TestRunner.java:116)
                at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:94)
                at junit.textui.TestRunner.doRun(TestRunner.java:109)
                at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:22)
                at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
                at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Caused by: java.lang.NullPointerException
                at org.apache.openejb.config.EjbJarInfoBuilder.initMethodTransactions(EjbJarInfoBuilder.java:321)
                at org.apache.openejb.config.EjbJarInfoBuilder.buildInfo(EjbJarInfoBuilder.java:181)
                at org.apache.openejb.config.AppInfoBuilder.build(AppInfoBuilder.java:127)
                at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:604)
                at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:551)
                at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:380)
                at org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:299)
                at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:278)
                ... 44 more