java.lang.NumberFormatException

For input string: "S8470017G"

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 web5366

  • via Coderanch by Abhradeep Banerjee, 11 months ago
    For input string: "S8470017G"
  • via Coderanch by Henry Wong, 11 months ago
    For input string: "S8470017G"
  • via Coderanch by Abhradeep Banerjee, 11 months ago
    For input string: "S8470017G"
  • Stack trace

    • java.lang.NumberFormatException: For input string: "S8470017G" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.<init>(Integer.java:660) at Travel.compareTo(Travel.java:33) at Travel.compareTo(Travel.java:1) at java.util.Arrays.mergeSort(Arrays.java:1144) at java.util.Arrays.sort(Arrays.java:1079) at java.util.Collections.sort(Collections.java:117) at lab6Ex1.main(lab6Ex1.java:110)

    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

    Once, 7 months ago
    2 times, 16 hours ago
    Unknown user
    Once, 1 day ago
    4 times, 6 days ago
    34 times, 1 week ago
    194 more bugmates