Hi,

Anyone seen this sort of NPE error before, when running Testcase-based junit
tests (datasource, pool, all/, etc)?

test:
     [echo] Performing Unit Tests
    [mkdir] Created dir: 
/home/jeff/apache/jakarta/jakarta-avalon-excalibur/datasource/build/tests
    [junit] Running org.apache.avalon.excalibur.datasource.test.DataSourceJdbcTestCase
    [junit] INFO    2002-04-13 23:10:58.140 [DataSourceJdbcTestCase        ] (): 
<title>DataSource Tests</title>
    [junit]       <para>
    [junit]         This series of tests exercise the JDBC DataSourceComponent 
provided by
    [junit]         Excalibur.  The configuration is specified in the file located in
    [junit]         
<parameter>jakarta-avalon-excalibur/src/test/org/apache/avalon/excalibur/datasource/test/DataSourceJdbcTestCase.xtext</parameter>.
    [junit]         You may edit the test to customize the settings.
    [junit]       </para>
    [junit] Exception in thread "main" java.lang.NullPointerException: 
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTest(XMLJUnitResultFormatter.java:196)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.formatError(XMLJUnitResultFormatter.java:230)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.addError(XMLJUnitResultFormatter.java:225)
    [junit]     at junit.framework.TestResult.addError(TestResult.java:36)
    [junit]     at 
org.apache.avalon.excalibur.testcase.ExcaliburTestCase.run(ExcaliburTestCase.java:413)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:168)
    [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] TEST org.apache.avalon.excalibur.datasource.test.DataSourceJdbcTestCase 
FAILED


--Jeff

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to