[Webtest] [webtest][JIRA] Closed: (WT-82) NullPointer exception in XmlReporter

Denis N. Antonioli (JIRA) webtest@lists.canoo.com
Mon, 12 Sep 2005 15:06:43 +0200 (CEST)


     [ http://webtest-community.canoo.com/jira/browse/WT-82?page=history ]
     
Denis N. Antonioli closed WT-82:
--------------------------------

    Resolution: Fixed

Default values (webtest-results/results.xml) set starting with R_998.

> 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
>     Assignee: Denis N. Antonioli
>      Fix For: 1.7

>
> 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