ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10181] New: - JUnit Task is compiled with old version of xerces / jaxp?
Date Mon, 24 Jun 2002 15:03:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10181>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10181

JUnit Task is compiled with old version of xerces / jaxp?

           Summary: JUnit Task is compiled with old version of xerces /
                    jaxp?
           Product: Ant
           Version: 1.5Beta2
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: alex.kritikos@my-channels.com


I have been trying to use the JUnit task as soon as our tests get added we get 
the following in the build log file:


   [junit] java.lang.VerifyError: (class: 
org/apache/xerces/jaxp/DocumentBuilderImpl, method: parse signature: 
(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;) Incompatible object argument 
for function call
    [junit] 	at 
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder
(DocumentBuilderFactoryImpl.java:88)
    [junit] 	at 
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.getDocument
Builder(XMLJUnitResultFormatter.java)
    [junit] 	at 
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.startTestSu
ite(XMLJUnitResultFormatter.java)
    [junit] 	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireStartTestSuite
(JUnitTestRunner.java)
    [junit] 	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run
(JUnitTestRunner.java)
    [junit] 	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main
(JUnitTestRunner.java)
    [junit] Exception in thread "main" 


Could it be that the junit task is compiled against a different version of jaxp 
or xerces than the one distributed with ant?

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message