java.lang.NumberFormatException: For input string: "

Oracle Community | 807595 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Help Please!!!! (URGENT)

    Oracle Community | 1 decade ago | 807595
    java.lang.NumberFormatException: For input string: "
  2. 0

    Problems loading j2ee-1_4_03-linux.bin on HPUX 11.11

    Oracle Community | 10 years ago | 843833
    java.lang.NumberFormatException: For input string: "B"
  3. 0

    jsp form validation using bean with int

    Coderanch | 1 decade ago | Tim Troy
    java.lang.NumberFormatException: For input string: "a"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    importing xml-file and getting parameters from it to another import

    Oracle Community | 1 decade ago | 843836
    java.lang.NumberFormatException: For input string: "<x:out value='$values/zoom_index'/>"
  6. 0

    Entel - Teléfonos - Comparador

    entel.cl | 1 year ago
    com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: javax.servlet.ServletException: java.lang.NumberFormatException: For input string: "undefined"

  1. stigkj 4 times, last 3 days ago
  2. SteVio1989 1 times, last 2 months ago
  3. Hronom 1 times, last 3 months ago
  4. mauritius 2 times, last 3 months ago
  5. tvrmsmith 1 times, last 3 months ago
12 more registered users
15 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: "

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.valueOf
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Integer.parseInt(Integer.java:468)
    3. java.lang.Integer.valueOf(Integer.java:574)
    3 frames
  3. Unknown
    Starts.main
    1. Shape.SetCenterX(Shape.java:10)
    2. Rectangle.<init>(Rectangle.java:6)[this is because I select rectangle to test]
    3. Starts.main(Starts.java:46)[which is where my call to the rectangle constructor is placed]
    3 frames