[
https://issues.jboss.org/browse/ARQ-1454?page=com.atlassian.jira.plugin.s...
]
Aslak Knutsen closed ARQ-1454.
------------------------------
Assignee: Aslak Knutsen
Resolution: Done
Fix pushed upstream at TestNG
https://github.com/cbeust/testng/commit/f05a3af7797aa441152a3e5daa1bf5660...
Arquillian doesn't work with TestNG >= 6.6
------------------------------------------
Key: ARQ-1454
URL:
https://issues.jboss.org/browse/ARQ-1454
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 1.1.1.Final
Reporter: Christian Bauer
Assignee: Aslak Knutsen
Priority: Critical
Attachments: foo.tar.gz
Works with TestNG 6.5.2 but breaks with 6.6:
{code}
10:27:17,634 ERROR [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-4-thread-1)
Failed: bar.Foo.doStuff: org.testng.TestNGException: java.lang.ClassNotFoundException:
bar.Foo from [Module "deployment.arquillian-service:main" from Service Module
Loader]
at org.testng.internal.XmlMethodSelector.checkMethod(XmlMethodSelector.java:252)
[arquillian-service:]
at
org.testng.internal.XmlMethodSelector.setXmlClasses(XmlMethodSelector.java:263)
[arquillian-service:]
at org.testng.TestRunner.initRunInfo(TestRunner.java:378) [arquillian-service:]
at org.testng.TestRunner.init(TestRunner.java:230) [arquillian-service:]
at org.testng.TestRunner.init(TestRunner.java:205) [arquillian-service:]
at org.testng.TestRunner.<init>(TestRunner.java:153) [arquillian-service:]
at
org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:522)
[arquillian-service:]
at org.testng.SuiteRunner.init(SuiteRunner.java:157) [arquillian-service:]
at org.testng.SuiteRunner.<init>(SuiteRunner.java:111)
[arquillian-service:]
at org.testng.TestNG.createSuiteRunner(TestNG.java:1272) [arquillian-service:]
at org.testng.TestNG.createSuiteRunners(TestNG.java:1259) [arquillian-service:]
at org.testng.TestNG.runSuitesLocally(TestNG.java:1113) [arquillian-service:]
at org.testng.TestNG.run(TestNG.java:1030) [arquillian-service:]
at
org.jboss.arquillian.testng.container.TestNGTestRunner.execute(TestNGTestRunner.java:53)
[arquillian-service:]
at
org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:128)
[arquillian-service:]
at
org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:107)
[arquillian-service:]
at
org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:226)
[arquillian-service:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_21]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_21]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)
[rt.jar:1.7.0_21]
at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)
[rt.jar:1.7.0_21]
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)
[rt.jar:1.7.0_21]
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
[rt.jar:1.7.0_21]
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
[rt.jar:1.7.0_21]
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
[rt.jar:1.7.0_21]
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
[rt.jar:1.7.0_21]
at
org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:498)
at
org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:246)
at
org.jboss.remotingjmx.protocol.v1.ServerProxy$InvokeHandler.handle(ServerProxy.java:1034)
at
org.jboss.remotingjmx.protocol.v1.ServerProxy$MessageReciever$1.run(ServerProxy.java:215)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_21]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_21]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
Caused by: java.lang.ClassNotFoundException: bar.Foo from [Module
"deployment.arquillian-service:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
[jboss-modules.jar:1.1.1.GA]
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
[jboss-modules.jar:1.1.1.GA]
at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_21]
at java.lang.Class.forName(Class.java:188) [rt.jar:1.7.0_21]
at org.testng.internal.XmlMethodSelector.checkMethod(XmlMethodSelector.java:245)
[arquillian-service:]
... 34 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira