java.lang.NumberFormatException: For input string: "17,80"

Jenkins JIRA | Dirk Kutzer | 5 months ago
  1. 0

    Scoverage reports made with German locale settings throw a NumberFormatException when parsed. {quote} Publishing Scoverage XML and HTML report ... ERROR: Build step failed with exception java.lang.NumberFormatException: For input string: "17,80" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) at java.lang.Double.parseDouble(Double.java:538) at org.jenkinsci.plugins.scoverage.ScoveragePublisher.processReport(ScoveragePublisher.java:140) at org.jenkinsci.plugins.scoverage.ScoveragePublisher.perform(ScoveragePublisher.java:67) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Build step 'Publish Scoverage Report' marked build as failure {quote} Please fix with somethihing like: {code:java} NumberFormat nf = NumberFormat.getInstance(); / //... double val = nf.parse(row).doubleValue(); {code} instead of: {code:java} statement = Double.parseDouble(matcher.group(1)); {code} in ScoveragePublisher.java Thx

    Jenkins JIRA | 5 months ago | Dirk Kutzer
    java.lang.NumberFormatException: For input string: "17,80"
  2. 0

    cosine similarity of 2 arraylist in java

    Stack Overflow | 1 month ago | Amal Targhi
    java.lang.NumberFormatException: For input string: "" 0.750305594399894"
  3. 0

    NumberFormatException when attempting to run LatentSymanticAnalysis class

    GitHub | 2 years ago | fingorn
    java.lang.NumberFormatException: For input string: "nan"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while parsing double 77K

    GitHub | 2 years ago | jbdundas
    java.lang.NumberFormatException: For input string: "77K"
  6. 0

    GeoPolyFilter and NumberFormatException

    GitHub | 2 years ago | ryfow
    org.elasticsearch.search.query.QueryPhaseExecutionException: [test][0]: query[filtered(ConstantScore(GeoPolygonFilter(point, [[0.0, 0.0], [0.0, 1.0], [1.0, 1.0], [0.0, 0.0]])))->cache(_type:foo)],from[0],size[1000]: Query Failed [Failed to execute main query]

  1. marcbouvierdav 2 times, last 2 months ago
  2. rexgreenza 2 times, last 3 months ago
  3. tyson925 32 times, last 6 months ago
  4. balajivaishnav 14 times, last 9 months ago
  5. Macapon 130 times, last 9 months ago
1 more registered users
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: "17,80"

    at sun.misc.FloatingDecimal.readJavaFormatString()
  2. Java RT
    Double.parseDouble
    1. sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
    2. sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
    3. java.lang.Double.parseDouble(Double.java:538)
    3 frames
  3. org.jenkinsci.plugins
    ScoveragePublisher.perform
    1. org.jenkinsci.plugins.scoverage.ScoveragePublisher.processReport(ScoveragePublisher.java:140)
    2. org.jenkinsci.plugins.scoverage.ScoveragePublisher.perform(ScoveragePublisher.java:67)
    2 frames
  4. Hudson
    Executor.run
    1. hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
    2. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
    4. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
    5. hudson.model.Build$BuildExecution.post2(Build.java:185)
    6. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
    7. hudson.model.Run.execute(Run.java:1766)
    8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    9. hudson.model.ResourceController.execute(ResourceController.java:98)
    10. hudson.model.Executor.run(Executor.java:410)
    10 frames