ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Bhatia <s...@yahoo.com>
Subject NullPointerException in XMLJUnitResultFormatter.endTest causing junitreports to hang
Date Tue, 03 Jul 2001 21:23:43 GMT
I recently added junitreports functionality into our build.xml file and am now
getting the following error.  It's also causing our junit tests to hang.  Has
anyone experienced this problem before?

sb

[junit] Exception in thread "main" java.lang.NullPointerException
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTest(XMLJUnitResultFormatter.java:177)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.formatError(XMLJUnitResultFormatter.java:211)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.addError(XMLJUnitResultFormatter.java:206)
    [junit] 	at junit.framework.TestResult.addError(TestResult.java:36)
    [junit] 	at junit.framework.TestResult.runProtected(TestResult.java:133)
    [junit] 	at
com.raplix.rolloutexpress.RaplixTestSuite.run(RaplixTestSuite.java:63)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:209)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:342)


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Mime
View raw message