java.lang.NumberFormatException: For input string: "20160713062024"

Atlassian JIRA | David Currie [Atlassian] | 4 months ago
  1. 0

    h3. Summary When upgrading JIRA 7.2RC02 to 7.2RC03 it fails with a NumberFormatException as the VersionStringComponentComparator can't parse the version String of RC02. h3. Steps to Reproduce # Install 7.2RC02. # Upgrade with the bin installer to 7.2.RC03. h3. Expected Results The upgrade proceeds as expected. h3. Actual Results The below exception is thrown by the installer: {noformat} [ERROR] com.install4j.runtime.beans.screens.FormScreen [ID 66884]: java.lang.NumberFormatException: For input string: "20160713062024" In screen "Configurable form", property "Validation expression": java.lang.NumberFormatException: For input string: "20160713062024" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:583) at java.lang.Integer.parseInt(Integer.java:615) at com.atlassian.inception.VersionStringComparator$VersionStringComponentComparator.compare(VersionStringComparator.java:100) at com.atlassian.inception.VersionStringComparator$VersionStringComponentComparator.compare(VersionStringComparator.java:85) at com.atlassian.inception.VersionStringComparator.compare(VersionStringComparator.java:76) at I4jScript_Internal_288.eval(I4jScript_Internal_288.java:89) at I4jScript_Internal_288.evaluate(I4jScript_Internal_288.java:144) at com.install4j.runtime.installer.helper.Script.evaluate(Unknown Source) at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source) at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source) at com.install4j.runtime.installer.ContextImpl.runBooleanScript(Unknown Source) at com.install4j.runtime.installer.ContextImpl.runBooleanScript(Unknown Source) at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.handleScreen(Unknown Source) at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.execute(Unknown Source) at com.install4j.runtime.installer.controller.Controller$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [INFO] com.install4j.runtime.beans.screens.FormScreen [ID 66884]: cleaning up Finished {noformat} h3. Notes This is failing as the version String is not parseable by {{Integer.parseInt()}}, which is kind of expected as the String is not a proper version number. h3. Workaround Installing RC03 as a fresh install and import the XML backup from RC02. (!) RC is not supported for production. If you are on a RC for Production, please move back to using a supported platform (ie 7.1.9) as soon as humanly possible.

    Atlassian JIRA | 4 months ago | David Currie [Atlassian]
    java.lang.NumberFormatException: For input string: "20160713062024"
  2. 0

    Create channel P2 feature could result in ERROR 500

    GitHub | 2 years ago | maggu2810
    java.lang.NumberFormatException: For input string: "201503190807"
  3. 0

    Product Explorer in Z-Wabe Binding throwing errors

    GitHub | 2 years ago | timsen1
    java.lang.IllegalArgumentException: invalid version "1.7976931348623157E308": non-numeric "7976931348623157E308"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to solve this java.lang.NumberFormatException in palindrome?

    Stack Overflow | 2 years ago | Raw502
    java.lang.NumberFormatException: For input string: "2284457131"
  6. 0

    NumberFormatException when select contains an expression with a LONG value

    GitHub | 2 years ago | fabriziofortino
    java.lang.NumberFormatException: For input string: "1429655550616"

  1. filpgame 4 times, last 2 weeks ago
  2. MoYapro 1 times, last 1 month ago
  3. Handemelindo 1 times, last 1 month ago
  4. silex 6 times, last 1 month ago
  5. ajinkya_w 3 times, last 1 month ago
31 more registered users
64 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: "20160713062024"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    2. java.lang.Integer.parseInt(Integer.java:583)
    3. java.lang.Integer.parseInt(Integer.java:615)
    3 frames
  3. com.atlassian.inception
    VersionStringComparator.compare
    1. com.atlassian.inception.VersionStringComparator$VersionStringComponentComparator.compare(VersionStringComparator.java:100)
    2. com.atlassian.inception.VersionStringComparator$VersionStringComponentComparator.compare(VersionStringComparator.java:85)
    3. com.atlassian.inception.VersionStringComparator.compare(VersionStringComparator.java:76)
    3 frames
  4. Unknown
    I4jScript_Internal_288.evaluate
    1. I4jScript_Internal_288.eval(I4jScript_Internal_288.java:89)
    2. I4jScript_Internal_288.evaluate(I4jScript_Internal_288.java:144)
    2 frames
  5. com.install4j.runtime
    Controller$1.run
    1. com.install4j.runtime.installer.helper.Script.evaluate(Unknown Source)
    2. com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)
    3. com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)
    4. com.install4j.runtime.installer.ContextImpl.runBooleanScript(Unknown Source)
    5. com.install4j.runtime.installer.ContextImpl.runBooleanScript(Unknown Source)
    6. com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.handleScreen(Unknown Source)
    7. com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.execute(Unknown Source)
    8. com.install4j.runtime.installer.controller.Controller$1.run(Unknown Source)
    8 frames
  6. Java RT
    EventDispatchThread.run
    1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    3. java.awt.EventQueue.access$500(EventQueue.java:97)
    4. java.awt.EventQueue$3.run(EventQueue.java:709)
    5. java.awt.EventQueue$3.run(EventQueue.java:703)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    14. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    14 frames