1 Reply Latest reply on Jul 27, 2015 6:05 AM by Sylvia Plath

    Unfortunate NPE

    Sylvia Plath Newbie

      Good evening,

       

      While attempting to set-up an Arquillian testing environment (using TestNG), for Jboss EAP 6.3.2, I have encountered a NPE I could not find, nor do, anything about. Digging in the Arquillian sources didn't help, unfortunately.

      Note that the test for which this problem was encountered is a simple one, having a deployment method that loads an EAR's pom, and a test method, which contains an Assert.true(). The issue persists, even if I remove the deployment method.

      Could someone look over the stacktrace below, in case this issue has been encountered before? Thanks in advance.

       

      java.lang.NullPointerException: null
              at org.jboss.arquillian.testng.Arquillian.run(Arquillian.java:221)
              at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
              at org.testng.internal.Invoker.invokeMethod(Invoker.java:652)
              at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
              at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
              at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
              at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
              at org.testng.TestRunner.privateRun(TestRunner.java:771)
              at org.testng.TestRunner.run(TestRunner.java:621)
              at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
              at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
              at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
              at org.testng.SuiteRunner.run(SuiteRunner.java:259)
              at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
              at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
              at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
              at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
              at org.testng.TestNG.run(TestNG.java:1032)
              at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:295)
              at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)
              at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)