java.lang.NumberFormatException

For input string: " 4"

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 web5374

  • For input string: "4 "
  • For input string: " 4"
  • via GitHub by lion1991
    , 1 year ago
    For input string: "4 "
  • Stack trace

    • java.lang.NumberFormatException: For input string: " 4" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:569) at java.lang.Integer.parseInt(Integer.java:615) at BlogEntryTester.main(BlogEntryTester.java:59)

    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

    7 times, 1 day ago
    2 times, 1 month ago
    8 times, 5 months ago
    8 times, 5 months ago
    Once, 1 year ago
    240 more bugmates