[ http://jira.codehaus.org/browse/MNG-1454?page=all ] Emmanuel Venisse closed MNG-1454: ---------------------------------
Resolution: Fixed Fix Version: 2.0.1 > Surefire XML Report not well formed on NPE > ------------------------------------------ > > Key: MNG-1454 > URL: http://jira.codehaus.org/browse/MNG-1454 > Project: Maven 2 > Type: Bug > Components: maven-surefire-plugin > Versions: 2.0 > Reporter: Kenney Westerhof > Assignee: Allan Ramirez > Fix For: 2.0.1 > > > When a unit test produces a NullPointerException the TEST-<classname>.xml > file is not well > formed. The testcase producing the NPE will be represented as: > <testcase time="0.003" name="class > org.codehaus.surefire.battery.JUnitBattery.testNPE"> > <failure type="java.lang.NullPointerException > at Test.testNPE(Test.java" message=" > and the file ends there. > See attached testcase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]