java.lang.NumberFormatException: multiple points

Atlassian JIRA | Diego Alonso [Atlassian] | 8 years ago
  1. 0

    We have received a stack trace from a customer where, during their performance testing, [DateFormat's parse function|http://java.sun.com/javase/6/docs/api/java/text/DateFormat.html#parse(java.lang.String)] has thrown a Runtime Exception, [java.lang.NumberFormatException|http://java.sun.com/javase/6/docs/api/java/lang/NumberFormatException.html]: {noformat} java.lang.NumberFormatException: multiple points at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084) at java.lang.Double.parseDouble(Double.java:510) at java.text.DigitList.getDouble(DigitList.java:151) at java.text.DecimalFormat.parse(DecimalFormat.java:1303) at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1918) at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1264) at java.text.DateFormat.parse(DateFormat.java:335) at com.atlassian.jira.web.util.OutlookDate.parseDatePicker(OutlookDate.java:298) at com.atlassian.jira.web.util.OutlookDate.isDatePickerDate(OutlookDate.java:334) at com.atlassian.jira.issue.fields.DueDateSystemField.validateParams(DueDateSystemField.java:103) at com.atlassian.jira.web.action.issue.IssueCreationHelperBeanImpl.validateCreateIssueFields(IssueCreationHelperBeanImpl.java:74) at com.atlassian.jira.web.action.issue.CreateIssueDetails.doValidation(CreateIssueDetails.java:71) ... ... {noformat} The problem seems to be related to the non-thread safety of the DateFormat class, as pointed out on the [Sun Forum's page|http://forums.sun.com/thread.jspa?threadID=497693&messageID=2906187]. It seems like an OutlookDate object has been used in a non-thread safe manner.

    Atlassian JIRA | 8 years ago | Diego Alonso [Atlassian]
    java.lang.NumberFormatException: multiple points
  2. 0

    We have received a stack trace from a customer where, during their performance testing, [DateFormat's parse function|http://java.sun.com/javase/6/docs/api/java/text/DateFormat.html#parse(java.lang.String)] has thrown a Runtime Exception, [java.lang.NumberFormatException|http://java.sun.com/javase/6/docs/api/java/lang/NumberFormatException.html]: {noformat} java.lang.NumberFormatException: multiple points at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084) at java.lang.Double.parseDouble(Double.java:510) at java.text.DigitList.getDouble(DigitList.java:151) at java.text.DecimalFormat.parse(DecimalFormat.java:1303) at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1918) at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1264) at java.text.DateFormat.parse(DateFormat.java:335) at com.atlassian.jira.web.util.OutlookDate.parseDatePicker(OutlookDate.java:298) at com.atlassian.jira.web.util.OutlookDate.isDatePickerDate(OutlookDate.java:334) at com.atlassian.jira.issue.fields.DueDateSystemField.validateParams(DueDateSystemField.java:103) at com.atlassian.jira.web.action.issue.IssueCreationHelperBeanImpl.validateCreateIssueFields(IssueCreationHelperBeanImpl.java:74) at com.atlassian.jira.web.action.issue.CreateIssueDetails.doValidation(CreateIssueDetails.java:71) ... ... {noformat} The problem seems to be related to the non-thread safety of the DateFormat class, as pointed out on the [Sun Forum's page|http://forums.sun.com/thread.jspa?threadID=497693&messageID=2906187]. It seems like an OutlookDate object has been used in a non-thread safe manner.

    Atlassian JIRA | 8 years ago | Diego Alonso [Atlassian]
    java.lang.NumberFormatException: multiple points
  3. 0

    java.lang.NumberFormatException: multiple points

    GitHub | 3 years ago | talios
    java.lang.NumberFormatException: multiple points
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Multiple exceptions thrown parsing date string

    Stack Overflow | 4 years ago | Craigy
    java.lang.NumberFormatException: multiple points
  6. 0

    java.lang.NumberFormatException: multiple points

    Stack Overflow | 1 year ago | Tiny
    java.lang.NumberFormatException: multiple points

    4 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

      multiple points

      at sun.misc.FloatingDecimal.readJavaFormatString()
    2. Java RT
      DateFormat.parse
      1. sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084)
      2. java.lang.Double.parseDouble(Double.java:510)
      3. java.text.DigitList.getDouble(DigitList.java:151)
      4. java.text.DecimalFormat.parse(DecimalFormat.java:1303)
      5. java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1918)
      6. java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1264)
      7. java.text.DateFormat.parse(DateFormat.java:335)
      7 frames
    3. com.atlassian.jira
      CreateIssueDetails.doValidation
      1. com.atlassian.jira.web.util.OutlookDate.parseDatePicker(OutlookDate.java:298)
      2. com.atlassian.jira.web.util.OutlookDate.isDatePickerDate(OutlookDate.java:334)
      3. com.atlassian.jira.issue.fields.DueDateSystemField.validateParams(DueDateSystemField.java:103)
      4. com.atlassian.jira.web.action.issue.IssueCreationHelperBeanImpl.validateCreateIssueFields(IssueCreationHelperBeanImpl.java:74)
      5. com.atlassian.jira.web.action.issue.CreateIssueDetails.doValidation(CreateIssueDetails.java:71)
      5 frames