[jboss-user] [JBoss Seam] - Re: [2.0 beta1]Problem caused by regression between jdk 1.5
enzhao
do-not-reply at jboss.com
Tue Jun 26 10:49:04 EDT 2007
Ah, someone has already filed a bug report on June 18th. Please see here:
http://jira.jboss.org/jira/browse/JBAS-4491
I forgot to paste the whole stack trace in my last post. Here it is:
[Invoker 24561483] Invoking @BeforeClass org.jboss.seam.mock.SeamTest.init()
WARN 26-06 15:32:56,062 [org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoader():675] Tried to add non-URLClassLoader. Ignored
ERROR 26-06 15:32:56,265 [org.jboss.dependency.plugins.AbstractController.incrementState():456] Error installing to Instantiated: name=DeploymentFilter state=Described
java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
at org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:919)
at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856)
at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
at org.testng.TestRunner.runWorkers(TestRunner.java:678)
at org.testng.TestRunner.privateRun(TestRunner.java:624)
at org.testng.TestRunner.run(TestRunner.java:495)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
at org.testng.SuiteRunner.run(SuiteRunner.java:190)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
at org.testng.TestNG.run(TestNG.java:699)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:122)
Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String;
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:170)
... 54 more
Failed to invoke @Configuration method org.jboss.seam.mock.SeamTest.init:Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
ResourcesToDeploy
-> DeploymentFilter{Configured:**ERROR**}
ResourcesToDeploy2
-> jboss.kernel:service=Kernel{Configured:**ERROR**}
-> DeploymentFilter{Configured:**ERROR**}
ResourcesToDeploy3
-> jboss.kernel:service=Kernel{Configured:**ERROR**}
-> DeploymentFilter{Configured:**ERROR**}
*** CONTEXTS IN ERROR: Name -> Error
DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
jboss.kernel:service=Kernel -> **ERROR**
[Invoker 24561483] Keeping method org.jboss.seam.mock.SeamTest.begin() for class [TestClass class org.ningning.eatsmart.test.action.NewRecipeTest]
[Invoker 24561483] Keeping method org.jboss.seam.mock.SeamTest.end() for class [TestClass class org.ningning.eatsmart.test.action.NewRecipeTest]
[Invoker 24561483] Keeping method org.jboss.seam.mock.SeamTest.begin() for class [TestClass class org.ningning.eatsmart.test.action.NewRecipeTest]
[Invoker 24561483] Keeping method org.jboss.seam.mock.SeamTest.end() for class [TestClass class org.ningning.eatsmart.test.action.NewRecipeTest]
[Invoker 24561483] Keeping method org.jboss.seam.mock.SeamTest.cleanup() for class [TestClass class org.ningning.eatsmart.test.action.NewRecipeTest]
*********** INVOKED METHODS
org.jboss.seam.mock.SeamTest.init() 3449340
org.ningning.eatsmart.test.action.NewRecipeTest.testStartOver() 3449340
***********
Creating C:\sd\projects\eatsmart2\test-report\UseCases\UseCases.html
FAILED CONFIGURATION: @BeforeClass init
org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
ResourcesToDeploy
-> DeploymentFilter{Configured:**ERROR**}
ResourcesToDeploy2
-> jboss.kernel:service=Kernel{Configured:**ERROR**}
-> DeploymentFilter{Configured:**ERROR**}
ResourcesToDeploy3
-> jboss.kernel:service=Kernel{Configured:**ERROR**}
-> DeploymentFilter{Configured:**ERROR**}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057745#4057745
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057745
More information about the jboss-user
mailing list