java.lang.NumberFormatException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.


rp
tip

This is a bug in Wise, updating to v4.10 seems to solve the problem.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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.
    via by David Currie [Atlassian],
  • Problem parsing ZK offset
    via GitHub by christoburp
    ,
    • 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)

    Users with the same issue

    aldrinleal
    8 times, last one,
    Unknown visitor1 times, last one,
    rp
    2 times, last one,
    Unknown visitor1 times, last one,
    David
    1 times, last one,
    233 more bugmates