[Webtest] [webtest][JIRA] Created: (WT-82) NullPointer exception in XmlReporter
Denis N. Antonioli (JIRA)
webtest@lists.canoo.com
Fri, 26 Aug 2005 23:27:13 +0200 (CEST)
NullPointer exception in XmlReporter
------------------------------------
Key: WT-82
URL: http://webtest-community.canoo.com/jira/browse/WT-82
Project: WebTest
Type: Bug
Reporter: Denis N. Antonioli
>From srobertson@nvisia.com:
But all of our test runs fail with the following exception. I didn't see anything in the docs about configuring reporting - but obviously I'm doing something wrong.
[testSpec] INFO (com.canoo.webtest.ant.TestSpecificationTask) - Writing report using Report class: com.canoo.webtest.reporting.XmlReporter
[testSpec] ERROR (com.canoo.webtest.ant.TestSpecificationTask) - Exception caught while writing test summary
[testSpec] java.lang.NullPointerException
[testSpec] at com.canoo.webtest.reporting.XmlReporter.getDocument(XmlReporter.java:65)
[testSpec] at com.canoo.webtest.reporting.XmlReporter.generateReport(XmlReporter.java:55)
[testSpec] at com.canoo.webtest.ant.TestSpecificationTask.report(TestSpecificationTask.java:165)
[testSpec] at com.canoo.webtest.ant.TestSpecificationTask.callSelectedReporter(TestSpecificationTask.java:157)
[testSpec] at com.canoo.webtest.ant.TestSpecificationTask.writeTestReportIfNeeded(TestSpecificationTask.java:151)
Changing to summary="false" in the config makes that go away.
Is this because we have to set a filename when using the summary?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira