[
https://jira.jboss.org/jira/browse/JBIDE-4000?page=com.atlassian.jira.plu...
]
Snjezana Peco reassigned JBIDE-4000:
------------------------------------
Assignee: Max Rydahl Andersen (was: Snjezana Peco)
TestNG failed for Seam Exaple Projects.
---------------------------------------
Key: JBIDE-4000
URL:
https://jira.jboss.org/jira/browse/JBIDE-4000
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.0.0.GA
Reporter: Anton Klimkovich
Assignee: Max Rydahl Andersen
EXECUTE: Import Seam Booking or Seam DVD Store exaple projects into workspace
EXECUTE: run TestNG (testng.xml exists)
FAILURE: TestNG failed for both seam examples projects with similar problem Caused by:
java.lang.IllegalArgumentException: You must specify org.jboss.seam.core.init.jndiPattern
or use @JndiName:
java.lang.RuntimeException: Could not create Component: accept
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:989)
at org.jboss.seam.init.Initialization.installComponents(Initialization.java:911)
at org.jboss.seam.init.Initialization.init(Initialization.java:589)
at org.jboss.seam.mock.BaseSeamTest.startSeam(BaseSeamTest.java:939)
at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:923)
at org.jboss.seam.mock.SeamTest.init(SeamTest.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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
at
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:167)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
at org.testng.TestRunner.runWorkers(TestRunner.java:712)
at org.testng.TestRunner.privateRun(TestRunner.java:582)
at org.testng.TestRunner.run(TestRunner.java:477)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
at org.testng.SuiteRunner.run(SuiteRunner.java:198)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
at org.testng.TestNG.run(TestNG.java:708)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)
Caused by: java.lang.IllegalArgumentException: You must specify
org.jboss.seam.core.init.jndiPattern or use @JndiName: accept
at org.jboss.seam.Component.getJndiName(Component.java:438)
at org.jboss.seam.Component.<init>(Component.java:243)
at org.jboss.seam.Component.<init>(Component.java:217)
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:974)
... 27 more
EXECUTE: Import Seam Booking Example - War Standalone
EXECUTE: run TestNG (testng.xml exists)
FAILURE: TestNG failed wit another exception:
javax.servlet.ServletException: ServletContext not allow to getResourceAsStream for
/WEB-INF/web.xml
at org.ajax4jsf.webapp.WebXml.init(WebXml.java:120)
at org.ajax4jsf.resource.InternetResourceService.init(InternetResourceService.java:133)
at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:148)
at org.jboss.seam.web.Ajax4jsfFilter.init(Ajax4jsfFilter.java:86)
at org.jboss.seam.servlet.SeamFilter.init(SeamFilter.java:97)
at org.jboss.seam.mock.BaseSeamTest.createSeamFilter(BaseSeamTest.java:992)
at org.jboss.seam.mock.BaseSeamTest.setupClass(BaseSeamTest.java:965)
at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:924)
at org.jboss.seam.mock.SeamTest.init(SeamTest.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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
at
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:167)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
at org.testng.TestRunner.runWorkers(TestRunner.java:712)
at org.testng.TestRunner.privateRun(TestRunner.java:582)
at org.testng.TestRunner.run(TestRunner.java:477)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
at org.testng.SuiteRunner.run(SuiteRunner.java:198)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
at org.testng.TestNG.run(TestNG.java:708)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira