java.lang.NumberFormatException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problema Con Diario Asientos
    via openbravo by jpaulo
    ,
  • I am getting lots of SEVERE warnings in logs, about NumberFormatException each time when regenerating plots. Stacktrace: java.lang.NumberFormatException: empty String at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994) at java.lang.Double.valueOf(Double.java:475) at hudson.plugins.plot.Plot.generatePlot(Plot.java:620) at hudson.plugins.plot.Plot.plotGraph(Plot.java:462) at hudson.plugins.plot.PlotReport.doGetPlot(PlotReport.java:74) at sun.reflect.GeneratedMethodAccessor1211.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) Looking at the CSV data files generated by the plugin in /var/lib/jenkins/jobs/my_job, I can see that for each build of the project, I have N lines for the values of my N curves of a plot, then one line "", "N", "buildnum", "timestamp", "" : Exemple: "846631","1","271","1439971819188","" " 240361"," 2","271","1439971819188","" " 143274"," 4","271","1439971819188","" "","3","271","1439971819188","" "1.0564e+06","1","272","1440001800673","" " 354972"," 2","272","1440001800673","" " 180714"," 4","272","1440001800673","" "","3","272","1440001800673","" "846899","1","272","1440001800673","" " 288147"," 2","272","1440001800673","" " 145421"," 4","272","1440001800673","" "","3","272","1440001800673","" generatePlot doesn't seem to do any detection of that type of lines, and i strongly think those lines are the ones generating my errors about the value field being empty. My plot data starting to become big, this filled my logs (and my server's partition..) in just an afternoon of minimal useage of the plot plugin. If the line has a use and can't be removed. Could it at least be detected properly to avoid the exceptions in the logs, in the same spirit as JENKINS-25849?
    via by Olivier BARTHELEMY,
  • I am getting lots of SEVERE warnings in logs, about NumberFormatException each time when regenerating plots. Stacktrace: java.lang.NumberFormatException: empty String at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994) at java.lang.Double.valueOf(Double.java:475) at hudson.plugins.plot.Plot.generatePlot(Plot.java:620) at hudson.plugins.plot.Plot.plotGraph(Plot.java:462) at hudson.plugins.plot.PlotReport.doGetPlot(PlotReport.java:74) at sun.reflect.GeneratedMethodAccessor1211.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) Looking at the CSV data files generated by the plugin in /var/lib/jenkins/jobs/my_job, I can see that for each build of the project, I have N lines for the values of my N curves of a plot, then one line "", "N", "buildnum", "timestamp", "" : Exemple: "846631","1","271","1439971819188","" " 240361"," 2","271","1439971819188","" " 143274"," 4","271","1439971819188","" "","3","271","1439971819188","" "1.0564e+06","1","272","1440001800673","" " 354972"," 2","272","1440001800673","" " 180714"," 4","272","1440001800673","" "","3","272","1440001800673","" "846899","1","272","1440001800673","" " 288147"," 2","272","1440001800673","" " 145421"," 4","272","1440001800673","" "","3","272","1440001800673","" generatePlot doesn't seem to do any detection of that type of lines, and i strongly think those lines are the ones generating my errors about the value field being empty. My plot data starting to become big, this filled my logs (and my server's partition..) in just an afternoon of minimal useage of the plot plugin. If the line has a use and can't be removed. Could it at least be detected properly to avoid the exceptions in the logs, in the same spirit as JENKINS-25849?
    via by Olivier BARTHELEMY,
  • 2 problems in SVGPath
    via GitHub by yskwong
    ,
  • Error.java.lang.NumberFormatException
    via Stack Overflow by a22asin
    ,
  • java: mars 2015
    via by Unknown author,
  • GitHub comment 4#67594523
    via GitHub by wting2013
    ,
    • java.lang.NumberFormatException: empty String at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994) at java.lang.Double.valueOf(Double.java:475) at org.openbravo.xmlEngine.FunctionModuleValue.print(Unknown Source) at org.openbravo.xmlEngine.XmlThreeValue.print(Unknown Source) at org.openbravo.xmlEngine.XmlThreeValue.print(Unknown Source) at org.openbravo.xmlEngine.AttributeItemValue.print(Unknown Source) at org.openbravo.xmlEngine.TagValue.print(Unknown Source) at org.openbravo.xmlEngine.DataValue.printDetail(Unknown Source) at org.openbravo.xmlEngine.DataValue.executeArray(Unknown Source) at org.openbravo.xmlEngine.DataValue.printGenerated(Unknown Source) at org.openbravo.xmlEngine.XmlDocument.print(Unknown Source) at org.openbravo.xmlEngine.XmlDocument.print(Unknown Source)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    batwalrus76batwalrus76
    2 times, last one,
    andreeaa marinandreeaa marin
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    maxximaxxi
    4 times, last one,
    29 more bugmates