[JIRA] [performance-plugin] (JENKINS-29832) NumberFormatException with German Locale

6 views
Skip to first unread message

l.wolter@his.de (JIRA)

unread,
Aug 6, 2015, 10:34:01 AM8/6/15
to jenkinsc...@googlegroups.com
Lars W created an issue
 
Jenkins / Bug JENKINS-29832
NumberFormatException with German Locale
Issue Type: Bug Bug
Assignee: Manuel Carrasco
Components: performance-plugin
Created: 06/Aug/15 2:33 PM
Priority: Major Major
Reporter: Lars W

The total traffic is rounded to 2 decimal places in PerformanceReport.java by converting it to a string and back.
That fails with a system locale using a comma to separate the decimal places.

Exception in Jenkins log:

Caught exception evaluating: it.getTotalTrafficInKb() in ... Reason: java.lang.NumberFormatException: For input string: "5351,75"
java.lang.NumberFormatException: For input string: "5351,75"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1250)
at java.lang.Double.valueOf(Double.java:504)
at hudson.plugins.performance.PerformanceReport.roundTwoDecimals(PerformanceReport.java:325)
at hudson.plugins.performance.PerformanceReport.getTotalTrafficInKb(PerformanceReport.java:211)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

l.wolter@his.de (JIRA)

unread,
Aug 6, 2015, 10:47:02 AM8/6/15
to jenkinsc...@googlegroups.com

hitesh.h.patel@gmail.com (JIRA)

unread,
Jul 19, 2016, 1:45:02 AM7/19/16
to jenkinsc...@googlegroups.com

This issue is similar or possibly same as JENKINS-29128. Need a sample file to help reproduce the issue.

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

artem.fedorov@blazemeter.com (JIRA)

unread,
Aug 28, 2018, 3:21:01 AM8/28/18
to jenkinsc...@googlegroups.com
Artem Fedorov resolved as Cannot Reproduce
 

cannot reproduce with version 3.10

Change By: Artem Fedorov
Status: Open Resolved
Resolution: Cannot Reproduce
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages