ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Downes" <mdow...@accelrys.com>
Subject Junit Report Problems
Date Wed, 28 Nov 2001 12:39:54 GMT
I am running Cruisecontrol 1.2.1a, ant v1.4.1, junit v3.6 and
xalan-j_2_2_D10. I want to parse the xml report generated by the junit tag
in build.xml.

I have included the optional.jar file from apache and have installed
the jaxp.jar and cimson.jar xml parser. On a build i get the following
error:

Has anyone successfully implemented the XML to HTML function in ant?

C:\framework\build.xml:73: 
java.lang.VerifyError: 
(class:
org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer, 
method: getXSLStreamSource 
signature:
(Ljava/lang/String;)Lorg/apache/xalan/xslt/XSLTInputSource;) 
Incompatible object argument for function call

--- Nested Exception ---
java.lang.VerifyError: (class:
org/apache/tools/ant/taskdefs/optional/junit/Aggr
egateTransformer, method: getXSLStreamSource signature:
(Ljava/lang/String;)Lorg
/apache/xalan/xslt/XSLTInputSource;) Incompatible object argument for
function c
all
        at
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.crea
teReport(Unknown Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.tools.ant.IntrospectionHelper$1.create(IntrospectionHelper
.java:167)
        at
org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionH
elper.java:275)
        at
org.apache.tools.ant.ProjectHelper$NestedElementHandler.init(ProjectH
elper.java:535)
        at
org.apache.tools.ant.ProjectHelper$TaskHandler.startElement(ProjectHe
lper.java:499)
        at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.ja
va:329)
        at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1451)
        at
org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
        at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
        at
org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
        at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
        at
org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
        at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
        at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

        at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)

        at javax.xml.parsers.SAXParser.parse(SAXParser.java:317)
        at
org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:403)
        at org.apache.tools.ant.Main.main(Main.java:149)


Mike

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


Mime
View raw message