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 27541] - JunitReport task fails under JDK 1.5
Date Tue, 09 Mar 2004 15:34:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27541>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27541

JunitReport task fails under JDK 1.5





------- Additional Comments From bloritsch@apache.org  2004-03-09 15:34 -------
I spoke too soon:

Here is the stack trace from JunitReport:

[junitreport] Using Xalan version: Xalan Java 2.6.0

BUILD FAILED
java.lang.ExceptionInInitializerError
        at org.apache.tools.ant.Project.executeTarget(Project.java:1224)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: java.lang.ExceptionInInitializerError
        at org.apache.xml.serializer.ToStream.<init>(ToStream.java:112)
        at org.apache.xml.serializer.ToHTMLStream.<init>(ToHTMLStream.java:557)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
        at java.lang.Class.newInstance0(Class.java:322)
        at java.lang.Class.newInstance(Class.java:275)
        at org.apache.xml.serializer.SerializerFactory.getSerializer(SerializerF
actory.java:91)
        at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl
er(TransformerImpl.java:1097)
        at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl
er(TransformerImpl.java:981)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1187)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1170)
        at org.apache.tools.ant.taskdefs.optional.junit.Xalan2Executor.execute(X
alan2Executor.java:45)
        at org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.tra
nsform(AggregateTransformer.java:147)
        at org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.exec
ute(XMLResultAggregator.java:136)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        ... 5 more
Caused by: java.lang.NumberFormatException: For input string: "be found at http:
//www.iana.org/assignments/character-sets"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
        at java.lang.Integer.parseInt(Integer.java:446)
        at java.lang.Integer.valueOf(Integer.java:525)
        at java.lang.Integer.decode(Integer.java:903)
        at org.apache.xml.serializer.Encodings.loadEncodingInfo(Encodings.java:3
93)
        at org.apache.xml.serializer.Encodings.<clinit>(Encodings.java:429)
        ... 26 more
--- Nested Exception ---
java.lang.ExceptionInInitializerError
        at org.apache.xml.serializer.ToStream.<init>(ToStream.java:112)
        at org.apache.xml.serializer.ToHTMLStream.<init>(ToHTMLStream.java:557)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
        at java.lang.Class.newInstance0(Class.java:322)
        at java.lang.Class.newInstance(Class.java:275)
        at org.apache.xml.serializer.SerializerFactory.getSerializer(SerializerF
actory.java:91)
        at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl
er(TransformerImpl.java:1097)
        at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl
er(TransformerImpl.java:981)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1187)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1170)
        at org.apache.tools.ant.taskdefs.optional.junit.Xalan2Executor.execute(X
alan2Executor.java:45)
        at org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer.tra
nsform(AggregateTransformer.java:147)
        at org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator.exec
ute(XMLResultAggregator.java:136)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: java.lang.NumberFormatException: For input string: "be found at http:
//www.iana.org/assignments/character-sets"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
        at java.lang.Integer.parseInt(Integer.java:446)
        at java.lang.Integer.valueOf(Integer.java:525)
        at java.lang.Integer.decode(Integer.java:903)
        at org.apache.xml.serializer.Encodings.loadEncodingInfo(Encodings.java:3
93)
        at org.apache.xml.serializer.Encodings.<clinit>(Encodings.java:429)
        ... 26 more

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


Mime
View raw message