Nagesh
2015-11-07 03:53:24 UTC
I see the following exception at the end of my WebDriver run. Using TestNG
v6.9.9 and FailSafe plugin 2.19. Any ideas what could be the issue here?
Here's a stack trace from the run -
build 06-Nov-2015 19:10:36 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19:integration-test (webdrivertest) on project turbo-webdriver: Execution webdrivertest of goal org.apache.maven.plugins:maven-failsafe-plugin:2.19:integration-test failed: There was an error in the forked process
build 06-Nov-2015 19:10:36 [ERROR] java.lang.NullPointerException
build 06-Nov-2015 19:10:36 [ERROR] at java.io.FileOutputStream.<init>(FileOutputStream.java:203)
build 06-Nov-2015 19:10:36 [ERROR] at java.io.FileWriter.<init>(FileWriter.java:107)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.FileStringBuffer.flushToFile(FileStringBuffer.java:122)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.FileStringBuffer.append(FileStringBuffer.java:51)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.FileStringBuffer.append(FileStringBuffer.java:28)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.XMLUtils.appendAttributes(XMLUtils.java:99)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.XMLStringBuffer.addEmptyElement(XMLStringBuffer.java:279)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.JUnitXMLReporter.createElement(JUnitXMLReporter.java:224)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.JUnitXMLReporter.createElementFromTestResults(JUnitXMLReporter.java:187)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.JUnitXMLReporter.generateReport(JUnitXMLReporter.java:178)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.JUnitXMLReporter.onFinish(JUnitXMLReporter.java:118)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestRunner.fireEvent(TestRunner.java:1250)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestRunner.afterRun(TestRunner.java:1041)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestRunner.run(TestRunner.java:628)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunner.run(SuiteRunner.java:261)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestNG.run(TestNG.java:1048)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:282)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:83)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:114)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
build 06-Nov-2015 19:10:36 [ERROR] -> [Help 1]
build 06-Nov-2015 19:10:36 [ERROR]
build 06-Nov-2015 19:10:36 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
build 06-Nov-2015 19:10:36 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
build 06-Nov-2015 19:10:36 [ERROR]
build 06-Nov-2015 19:10:36 [ERROR] For more information about the errors and possible solutions, please read the following articles:
build 06-Nov-2015 19:10:36 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
-Nagesh
v6.9.9 and FailSafe plugin 2.19. Any ideas what could be the issue here?
Here's a stack trace from the run -
build 06-Nov-2015 19:10:36 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19:integration-test (webdrivertest) on project turbo-webdriver: Execution webdrivertest of goal org.apache.maven.plugins:maven-failsafe-plugin:2.19:integration-test failed: There was an error in the forked process
build 06-Nov-2015 19:10:36 [ERROR] java.lang.NullPointerException
build 06-Nov-2015 19:10:36 [ERROR] at java.io.FileOutputStream.<init>(FileOutputStream.java:203)
build 06-Nov-2015 19:10:36 [ERROR] at java.io.FileWriter.<init>(FileWriter.java:107)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.FileStringBuffer.flushToFile(FileStringBuffer.java:122)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.FileStringBuffer.append(FileStringBuffer.java:51)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.FileStringBuffer.append(FileStringBuffer.java:28)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.XMLUtils.appendAttributes(XMLUtils.java:99)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.XMLStringBuffer.addEmptyElement(XMLStringBuffer.java:279)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.JUnitXMLReporter.createElement(JUnitXMLReporter.java:224)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.JUnitXMLReporter.createElementFromTestResults(JUnitXMLReporter.java:187)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.JUnitXMLReporter.generateReport(JUnitXMLReporter.java:178)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.reporters.JUnitXMLReporter.onFinish(JUnitXMLReporter.java:118)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestRunner.fireEvent(TestRunner.java:1250)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestRunner.afterRun(TestRunner.java:1041)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestRunner.run(TestRunner.java:628)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunner.run(SuiteRunner.java:261)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
build 06-Nov-2015 19:10:36 [ERROR] at org.testng.TestNG.run(TestNG.java:1048)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:282)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:83)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:114)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
build 06-Nov-2015 19:10:36 [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
build 06-Nov-2015 19:10:36 [ERROR] -> [Help 1]
build 06-Nov-2015 19:10:36 [ERROR]
build 06-Nov-2015 19:10:36 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
build 06-Nov-2015 19:10:36 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
build 06-Nov-2015 19:10:36 [ERROR]
build 06-Nov-2015 19:10:36 [ERROR] For more information about the errors and possible solutions, please read the following articles:
build 06-Nov-2015 19:10:36 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
-Nagesh
--
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.
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.