java.lang.NumberFormatException: For input string: " 1"

Coderanch | Francis Low | 7 years ago
  1. 0

    NumberFormatException thrown from parsing string to int

    Coderanch | 7 years ago | Francis Low
    java.lang.NumberFormatException: For input string: " 1"
  2. 0

    Getting a NumberFormatException in Talend

    Stack Overflow | 4 years ago | Leejoy
    java.lang.NumberFormatException: For input string: "+2"
  3. 0

    zookeeper not starting

    Stack Overflow | 4 years ago | user751851
    java.lang.NumberFormatException: For input string: "C:\Development\apps\zookeeper\zookeeper3.4.1\bin\..\conf\zoo.cfg"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    VoxelSniper null kicking clients.

    GitHub | 2 years ago | mibby
    org.bukkit.command.CommandException: Unhandled exception executing command 'b' in plugin VoxelSniper v5.170.0-SNAPSHOT-jnks317-gitfcb8fe1
  6. 0

    GitHub comment 57#242869127

    GitHub | 3 months ago | arjunnair1989
    java.lang.NumberFormatException: For input string: " 1"

  1. Handemelindo 6 times, last 5 days ago
  2. bmacedo 2 times, last 7 days ago
  3. MoYapro 1 times, last 1 week ago
  4. filpgame 4 times, last 3 weeks ago
  5. silex 6 times, last 1 month ago
32 more registered users
63 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: " 1"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Integer.parseInt(Integer.java:449)
    3. java.lang.Integer.parseInt(Integer.java:499)
    3 frames
  3. spellingquiz
    Main.main
    1. spellingquiz.Main.loadScores(Main.java:237)
    2. spellingquiz.Main.main(Main.java:31)
    2 frames