You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/10/29 00:26:06 UTC

[jira] Created: (MAVEN-976) NumberFormatException when running jcoverage plugin

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-976


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-976
    Summary: NumberFormatException when running jcoverage plugin
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-other
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Daniel Rabe

    Created: Tue, 28 Oct 2003 5:25 PM
    Updated: Tue, 28 Oct 2003 5:25 PM
Environment: Windows XP

Description:
I'm trying to run the jcoverage plugin on my project. It runs the unit tests, and begins the transformation; then I get the following stack trace. There are a number of jcoverage report html files in my target\docs\jcoverage directory, but there is no index.html there.

jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
Generate report for C:\KangaHermes/target/jcoverage/coverage.xml file.
OutputDir = C:\KangaHermes/target/docs/jcoverage
java.lang.NumberFormatException: For input string: "?"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1207)
        at java.lang.Double.valueOf(Double.java:202)
        at java.lang.Double.<init>(Double.java:277)
        at org.apache.maven.jcoveragereport.CoverageReport.generatePercentResult(CoverageReport.java
:495)
        at org.apache.maven.jcoveragereport.CoverageReport.generateSourceFile(CoverageReport.java:42
7)
        at org.apache.maven.jcoveragereport.CoverageReport.generateSourceFiles(CoverageReport.java:3
93)
        at org.apache.maven.jcoveragereport.CoverageReport.generate(CoverageReport.java:96)
        at org.apache.maven.jcoveragereport.CoverageReportGenerator.execute(CoverageReportGenerator.
java:106)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:87)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:84)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.CatchTag.doTag(CatchTag.java:90)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134)
 etc.

Thanks,
Daniel Rabe



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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