Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

  2. ,

    Can occur when you try to convert a String to a numeric value but the String is not well formatted for the conversion.

Solutions on the web

via Oracle Community by 807593, 1 year ago
via Oracle Community by 807605, 6 months ago
via Oracle Community by 807605, 6 months ago
via Google Groups by Gordon Hollenbeck, 4 months ago
java.lang.NumberFormatException: null	at java.lang.Integer.parseInt(Integer.java:382)	at java.lang.Integer.parseInt(Integer.java:463)	at assignment2.paint(assignment2.java:13)	at sun.awt.RepaintArea.paint(RepaintArea.java:298)	at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:196)	at java.awt.Component.dispatchEventImpl(Component.java:2663)	at java.awt.Container.dispatchEventImpl(Container.java:1213)	at java.awt.Component.dispatchEvent(Component.java:2497)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)