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

Coderanch | Aravind Prasad | 9 years 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

    JFormattedTextField problem

    Coderanch | 9 years ago | Aravind Prasad
    java.lang.NumberFormatException: For input string: " "
  2. 0

    java.lang.NumberFormatException: For input string: " "_°Ù¶ÈÖªµÀ

    baidu.com | 4 months ago
    java.lang.NumberFormatException: For input string: " "
  3. 0

    Pre-populating form fields with the row data by clicking on the row

    Stack Overflow | 2 years ago | Rohit Roy
    java.lang.NumberFormatException: For input string: " "
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Numberformat Exception

    Stack Overflow | 3 years ago | user3075117
    java.lang.NumberFormatException: For input string: " "
  6. 0

    Thrown an error when I try to convert String to Integer

    Stack Overflow | 2 years ago | kavi
    java.lang.NumberFormatException: For input string: " 1060528128"

  1. rp 4 times, last 2 weeks ago
  2. Handemelindo 6 times, last 2 weeks ago
  3. treefolk 3 times, last 1 month ago
  4. andreeaa marin 2 times, last 1 month ago
  5. eti22 6 times, last 1 month ago
33 more registered users
62 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.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Integer.parseInt(Integer.java:447)
    3. java.lang.Integer.parseInt(Integer.java:497)
    3 frames
  3. hrms
    MDI$2.actionPerformed
    1. hrms.MDI.jButton3ActionPerformed(MDI.java:412)
    2. hrms.MDI.access$000(MDI.java:28)
    3. hrms.MDI$2.actionPerformed(MDI.java:258)
    3 frames
  4. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    5. javax.swing.plaf.basic.BasicButtonListener$Actions.actionPerformed(BasicButtonListener.java:287)
    6. javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
    7. javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
    8. javax.swing.JComponent.processKeyBindings(JComponent.java:2798)
    9. javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
    10. java.awt.Component.processEvent(Component.java:5265)
    11. java.awt.Container.processEvent(Container.java:1966)
    12. java.awt.Component.dispatchEventImpl(Component.java:3955)
    13. java.awt.Container.dispatchEventImpl(Container.java:2024)
    14. java.awt.Component.dispatchEvent(Component.java:3803)
    15. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
    16. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
    17. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
    18. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
    19. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
    20. java.awt.Component.dispatchEventImpl(Component.java:3841)
    21. java.awt.Container.dispatchEventImpl(Container.java:2024)
    22. java.awt.Window.dispatchEventImpl(Window.java:1778)
    23. java.awt.Component.dispatchEvent(Component.java:3803)
    24. java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    25. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    26. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    27. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    28. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    29. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    29 frames