I get a java.lang.NullPointerException when running my tests.
Here is the actual put
run_tests:
[junit] Initialized TEST registry
[junit] Logging level set to: WARN
[junit] Log tracing ENABLED
[junit] Timing measurements ENABLED
[junit] Scanning for tests in package: component_test
[junit] Found the following tests:
[junit] component_test.dbbuilds.BuildDBSTest
[junit] component_test.query.QueryProfileTest
[junit] component_test.query.QueryServletTest
[junit] java.lang.NullPointerException
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFo
rmatter.endTest(XMLJUnitResultFormatter.java:196)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFo
rmatter.formatError(XMLJUnitResultFormatter.java:230)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFo
rmatter.addError(XMLJUnitResultFormatter.java:225)
[junit] at junit.framework.TestResult.addError(TestResult.java:36)
[junit] at
junit.framework.TestResult.runProtected(TestResult.java:123)
[junit] at junit.extensions.TestSetup.run(TestSetup.java:23)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
run(JUnitTestRunner.java:231)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
main(JUnitTestRunner.java:409)
[junit] Exception in thread "main"
[junit] TEST component_test.AllTests FAILED
[junitreport] The file
C:\cpsft\Metanet\test.resources\TEST-component_test.AllTe
sts.xml is not a valid XML document. It is possibly corrupted.
[junitreport] Using Xalan version: 2.0_D07
[junitreport] Transform time: 1082ms
Is there a workaround, or is there any fix for this.
I am running junit 3.7, ant 1.4.1, jdk 1.3.1.
thanks
-mez
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>