[ http://jira.codehaus.org/browse/MSUREFIRE-6?page=all ]
Maria Odea Ching moved MNG-1392 to MSUREFIRE-6: ----------------------------------------------- Fix Version: (was: 2.0.1) Component: (was: maven-surefire-plugin) Workflow: jira (was: Maven) Key: MSUREFIRE-6 (was: MNG-1392) Project: Maven 2.x Surefire Plugin (was: Maven 2) > Surefire Report fails if LANG is not US under Linux > --------------------------------------------------- > > Key: MSUREFIRE-6 > URL: http://jira.codehaus.org/browse/MSUREFIRE-6 > Project: Maven 2.x Surefire Plugin > Type: Bug > Environment: Linux > Environment variable LANG=de_DE > Reporter: Boris Boehlen > Assignee: Johnny R. Ruiz III > Priority: Blocker > > > When the locale is de_DE Maven fails to generate the report for surefire. > With this locale the execution times of the unit test is written as "3,52" > and not as "3.52". When the surefire-report is generated the following > exception is thrown: > [INFO] Generate "Maven Surefire Report" report. > java.lang.NumberFormatException: For input string: "1,858" > 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:533) > at > com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:1157) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) > at > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:311) > at > org.codehaus.mojo.surefire.ReportTestSuite.<init>(ReportTestSuite.java:59) > at > org.codehaus.mojo.surefire.SurefireReportParser.parseXMLReportFiles(SurefireReportParser.java:42) -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]