1 Reply Latest reply on Mar 29, 2011 12:00 PM by Aslak Knutsen

    NoSuchMethodError after upgrading to alpha5 with TestNG and Embedded GF 3.1

    Magnus Smith Newbie

      Hi, I'm a bit stuck after upgrading. 

       

      I'm using

      Arquillian 1.0.0.Alpha5

      TestNG 5.14

      and Embedded GlassFish 3.1

       

      When I try to run my tests I am getting the following NoSuchMethodError

       

       

      java.lang.NoSuchMethodError: org.testng.IHookCallBack.getParameters()[Ljava/lang/Object;     at org.jboss.arquillian.testng.Arquillian$1.invoke(Arquillian.java:110)     at org.jboss.arquillian.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:63)     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.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)     at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)     at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:80)     at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)     at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)     at org.jboss.arquillian.impl.core.EventImpl.fire(EventImpl.java:67)     at org.jboss.arquillian.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38)     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.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)     at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)     at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:80)     at org.jboss.arquillian.impl.TestContextHandler.createTestContext(TestContextHandler.java:82)     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.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)     at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)     at org.jboss.arquillian.impl.TestContextHandler.createClassContext(TestContextHandler.java:68)     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.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)     at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)     at org.jboss.arquillian.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:54)     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.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)     at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:87)     at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)     at org.jboss.arquillian.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:101)     at org.jboss.arquillian.testng.Arquillian.run(Arquillian.java:102)     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.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:766)     at org.testng.internal.Invoker.invokeMethod(Invoker.java:620)     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:799)     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1103)     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)     at org.testng.TestRunner.runWorkers(TestRunner.java:1098)     at org.testng.TestRunner.privateRun(TestRunner.java:727)     at org.testng.TestRunner.run(TestRunner.java:581)     at org.testng.SuiteRunner.runTest(SuiteRunner.java:315)     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:310)     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:272)     at org.testng.SuiteRunner.run(SuiteRunner.java:221)     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:40)     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:83)     at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:151)     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)     at java.lang.Thread.run(Thread.java:619)

       

      This was previously running fine with alpha 4

       

      Any ideas greatly appreciated ?