<Thread-id: 1> About to begin executing Test Group - Integration Tests
Exception in thread "pool-1-thread-1" java.lang.NullPointerException
at cuanto.adapter.listener.testng.TestNgListener.onConfigurationFailure(TestNgListener.java:130)
at org.testng.internal.Invoker.runConfigurationListeners(Invoker.java:1868)
at org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java:334)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:245)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
<suite name="Turbo WebDriver Tests" parallel="classes" thread-count="4">
<listeners>
<listener class-name="com.axiom.turbo.webdriver.TestListener" />
<listener class-name="cuanto.adapter.listener.testng.TestNgListener" />
</listeners>
<test name="Turbo WebDriver Tests" thread-count="4">
<groups>
<run>
<include name="WhatsNew" />
</run>
</groups>
<packages>
<package name="com.axiom.turbo.webdriver.tests.homePage" />
</packages>
</test>
</suite>
mvn -U clean integration-test -P webdriver-tests -Dtest.suite.path=src/test/java/com/axiom/turbo/webdriver/suites/test.xml -Dtest.env=rc1 -Dcuanto.url=http://localhost:8080/cuanto -Dcuanto.projectKey=AXM -Dcuanto.testrun.create=true
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
On 14 Jan 2015, at 7:23, Nagesh wrote:
Yes, but I can't figure out where, since I'm using the TestNgListener that comes with Cuanto's jars. I was wondering if someone in this group who may have integrated their WebDriver project with Cuanto had run into a similar issue.
I'd suggest running the tests with a debugger - either with:
$ mvn test -Dmaven.surefire.debug
or
$ mvnDebug test ( if the NPE is tripping up in surefire plugin itself, and not the test execution )
Connect to it via say Eclipse or IntelliJ and step into the source, see whats null
and trace back from there.
Mark
--
Mark Derricutt
http://www.theoryinpractice.net
http://plus.google.com/+MarkDerricutt
http://twitter.com/talios
http://facebook.com/mderricutt