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.


rprp
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.

  • If an administrator enters a value larger than 2147483647 in ops.bar.group.size, ops.bar.group.size.opsbar-operations or ops.bar.group.size.opsbar-transitions (in jira-application.properties), JIRA starts up without error, but every time an issue is displayed, there are a bunch of errors displayed in the logs and the display of the Ops bar is complely corrupted. The "View" menu also no longer works (it throws a JavaScript error). Log entry: {noformat} 2010-02-16 18:28:47,140 http-8080-1 ERROR anonymous 66526x1x1 4boumx http://penny:8080/browse/BULK-45 [webwork.util.ValueStack] METHOD: "howManyOpLinksToShow", exception: java.lang.NumberFormatException: For input string: "2147483648" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:465) at java.lang.Integer.parseInt(Integer.java:499) at com.atlassian.jira.web.action.issue.ViewIssue.getRawNumberOfLinksToShow(ViewIssue.java:1026) at com.atlassian.jira.web.action.issue.ViewIssue.getHowManyOpLinksToShow(ViewIssue.java:989) at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.util.ValueStack.findValue(ValueStack.java:507) at webwork.util.SimpleTest.test(SimpleTest.java:448) at webwork.util.ValueStack.test(ValueStack.java:157) at webwork.view.taglib.ElseIfTag.doStartTag(ElseIfTag.java:45) at org.apache.jsp.includes.panels.issue.viewissue_002dopsbar_jsp._jspService(viewissue_002dopsbar_jsp.java:333) {noformat}
    via by Penny Wyatt [on leave until 31st May],
  • If an administrator enters a value larger than 2147483647 in ops.bar.group.size, ops.bar.group.size.opsbar-operations or ops.bar.group.size.opsbar-transitions (in jira-application.properties), JIRA starts up without error, but every time an issue is displayed, there are a bunch of errors displayed in the logs and the display of the Ops bar is complely corrupted. The "View" menu also no longer works (it throws a JavaScript error). Log entry: {noformat} 2010-02-16 18:28:47,140 http-8080-1 ERROR anonymous 66526x1x1 4boumx http://penny:8080/browse/BULK-45 [webwork.util.ValueStack] METHOD: "howManyOpLinksToShow", exception: java.lang.NumberFormatException: For input string: "2147483648" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:465) at java.lang.Integer.parseInt(Integer.java:499) at com.atlassian.jira.web.action.issue.ViewIssue.getRawNumberOfLinksToShow(ViewIssue.java:1026) at com.atlassian.jira.web.action.issue.ViewIssue.getHowManyOpLinksToShow(ViewIssue.java:989) at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.util.ValueStack.findValue(ValueStack.java:507) at webwork.util.SimpleTest.test(SimpleTest.java:448) at webwork.util.ValueStack.test(ValueStack.java:157) at webwork.view.taglib.ElseIfTag.doStartTag(ElseIfTag.java:45) at org.apache.jsp.includes.panels.issue.viewissue_002dopsbar_jsp._jspService(viewissue_002dopsbar_jsp.java:333) {noformat}
    via by Penny Wyatt,
  • Running with Android project
    via GitHub by luiscruz
    ,
  • Android progress bar doesn't update
    via Stack Overflow by Leonardo
    ,
    • java.lang.NumberFormatException: For input string: "2147483648" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:463) at java.lang.Integer.parseInt(Integer.java:497) at py4j.Protocol.getInteger(Protocol.java:164) at py4j.Protocol.getObject(Protocol.java:215) at py4j.commands.AbstractCommand.getArguments(AbstractCommand.java:107) at py4j.commands.CallCommand.execute(CallCommand.java:79) at py4j.GatewayConnection.run(GatewayConnection.java:173) at java.lang.Thread.run(Thread.java:619)

    Users with the same issue

    derproggerderprogger
    2 times, last one,
    Hiren AmaliyarHiren Amaliyar
    2 times, last one,
    DavidDavid
    1 times, last one,
    AravindAravind
    5 times, last one,
    rprp
    2 times, last one,
    233 more bugmates