You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2005/11/11 09:48:14 UTC

[surefire-report] not contains package name and testcase details

Hi,
I want to generate a surefire-report (note some tests failed). The
report doesn't contains any informations as maven1 provided.
The console contains the exception :
[WARNING] Error loading report
org.codehaus.mojo.surefire.SurefireReportMojo - Abs
tractMethodError: canGenerateReport()
[INFO] Generate "Maven Surefire Report" report.
java.lang.NumberFormatException: For input string: "13,9"
        at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:281)
        at
org.codehaus.mojo.surefire.ReportTestSuite.<init>(ReportTestSuite.java:
59)
        at
org.codehaus.mojo.surefire.SurefireReportParser.parseXMLReportFiles(Sur
efireReportParser.java:42)
        at
org.codehaus.mojo.surefire.SurefireReportGenerator.doGenerateReport(Sur
efireReportGenerator.java:44)
        at
org.codehaus.mojo.surefire.SurefireReportMojo.executeReport(SurefireRep
ortMojo.java:77)
        at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRe
port.java:117)
 
Thanks,
- Olivier


This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
********************************************************************** 
Ce message electronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci apres "le message" ), sont confidentiels et destines exclusivement a l'usage de la  personne a laquelle ils sont adresses. Si vous avez recu ce message par erreur, merci  de le renvoyer a son emetteur et de le detruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressement autorisees de ce message, sont interdites.
********************************************************************** 


Re: [surefire-report] not contains package name and testcase details

Posted by Emmanuel Venisse <em...@venisse.net>.
I's a bug in surefire-report for float in french format.

Please, file an issue on mojo project.

Emmanuel

Olivier Lamy a écrit :
> Hi,
> I want to generate a surefire-report (note some tests failed). The
> report doesn't contains any informations as maven1 provided.
> The console contains the exception :
> [WARNING] Error loading report
> org.codehaus.mojo.surefire.SurefireReportMojo - Abs
> tractMethodError: canGenerateReport()
> [INFO] Generate "Maven Surefire Report" report.
> java.lang.NumberFormatException: For input string: "13,9"
>         at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
>         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
>         at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:281)
>         at
> org.codehaus.mojo.surefire.ReportTestSuite.<init>(ReportTestSuite.java:
> 59)
>         at
> org.codehaus.mojo.surefire.SurefireReportParser.parseXMLReportFiles(Sur
> efireReportParser.java:42)
>         at
> org.codehaus.mojo.surefire.SurefireReportGenerator.doGenerateReport(Sur
> efireReportGenerator.java:44)
>         at
> org.codehaus.mojo.surefire.SurefireReportMojo.executeReport(SurefireRep
> ortMojo.java:77)
>         at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRe
> port.java:117)
>  
> Thanks,
> - Olivier
> 
> 
> This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
> ********************************************************************** 
> Ce message electronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci apres "le message" ), sont confidentiels et destines exclusivement a l'usage de la  personne a laquelle ils sont adresses. Si vous avez recu ce message par erreur, merci  de le renvoyer a son emetteur et de le detruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressement autorisees de ce message, sont interdites.
> ********************************************************************** 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org