java.lang.NumberFormatException

For input string: "21474836479"Will throw an Exception...even though there are only digits is the String

Samebug tips2

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


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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web5441

  • via Coderanch by pascal betz, 11 months ago
    For input string: "21474836479"Will throw an Exception...even though there are only digits is the String
  • via GitHub by tresf
    , 1 year ago
    For input string: "even"
  • via Google Groups by Robin, 1 year ago
    For input string: "[]" <<<<<<<< [] is an unmapped char
  • Stack trace

    • java.lang.NumberFormatException: For input string: "21474836479"Will throw an Exception...even though there are only digits is the String at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at Test.main(Test.java:12)

    Write tip

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

    Users with the same issue

    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    240 more bugmates