You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/01/20 02:24:06 UTC

[jira] Closed: (SUREFIRE-28) numberformatexception parsing xml report file 'time' attribute

     [ http://jira.codehaus.org/browse/SUREFIRE-28?page=all ]
     
Brett Porter closed SUREFIRE-28:
--------------------------------

     Assign To: Brett Porter  (was: Jason van Zyl)
    Resolution: Duplicate

> numberformatexception parsing xml report file 'time' attribute 
> ---------------------------------------------------------------
>
>          Key: SUREFIRE-28
>          URL: http://jira.codehaus.org/browse/SUREFIRE-28
>      Project: surefire
>         Type: Bug

>     Reporter: Tony Nys
>     Assignee: Brett Porter

>
>
> xml file has time attribute with value "0,03" (due to local settings)
> [INFO] [surefire-report:report]
> java.lang.NumberFormatException: For input string: "0,03"
>         at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
>         at java.lang.Float.parseFloat(Float.java:394)
>         at org.codehaus.mojo.surefire.ReportTestSuite.startElement(ReportTestSuite.java:78)
>         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:53
> xml frag:
> <?xml version="1.0" encoding="UTF-8" ?>
> <testsuite errors="0" tests="1" time="0,03" failures="0" name="com.capgemini.be.adc.maven.v2.plugins.codestats.junit.TestLoggers">
>   <properties>
>     <property value="Java(TM) 2 Runtime Environment, Standard Edition" name="java.runtime.name"/>
>     <property value="C:\Program Files\Java\jdk1.5.0_04\jre\bin" name="sun.boot.library.path"/>
>     <property value="1.5.0_04-b05" name="java.vm.version"/>
>     <property value="Sun Microsystems Inc." name="java.vm.vendor"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira