[jboss-user] [JBoss Seam] - Re: Seam and maven2 running tests

Lightguard do-not-reply at jboss.com
Thu May 24 17:33:57 EDT 2007


Gavin (or anyone else that may know), I have done that, and the embedded ejb container is starting (finally :) )  Now I'm getting this beast:

java.lang.RuntimeException: java.lang.IllegalArgumentException: Null name
  |   at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:391)
  |   at org.jboss.seam.core.Ejb.startup(Ejb.java:42)
  |   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:585)
  |   at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  |   at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
  |   at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
  |   at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
  |   at org.jboss.seam.Component.newInstance(Component.java:1746)
  |   at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
  |   at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:145)
  |   at org.jboss.seam.init.Initialization.init(Initialization.java:504)
  |   at org.jboss.seam.mock.SeamTest.init(SeamTest.java:701)
  |   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:585)
  |   at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552)
  |   at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:318)
  |   at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:152)
  |   at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88)
  |   at org.testng.TestRunner.privateRun(TestRunner.java:682)
  |   at org.testng.TestRunner.run(TestRunner.java:566)
  |   at org.testng.SuiteRunner.privateRun(SuiteRunner.java:220)
  |   at org.testng.SuiteRunner.run(SuiteRunner.java:146)
  |   at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:713)
  |   at org.testng.TestNG.runSuitesLocally(TestNG.java:676)
  |   at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeTestNG(TestNGDirectoryTestSuite.java:286)
  |   at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:224)
  |   at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  |   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:585)
  |   at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:275)
  |   at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:832)
  | Caused by: java.lang.IllegalArgumentException: Null name
  |   at org.jboss.dependency.plugins.AbstractController.getContext(AbstractController.java:101)
  |   at org.jboss.kernel.plugins.dependency.AbstractKernelController.getContext(AbstractKernelController.java:94)
  |   at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:229)
  |   at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:161)
  |   at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:381)
  |   ... 37 more
  | 

Any ideas on what's going wrong here?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048494#4048494

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048494



More information about the jboss-user mailing list