java.lang.NullPointerException: This exception has no message.

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

Solutions on the web

via Oracle Community by 807581, 1 year ago
via GitHub by buggsley
, 1 year ago
This exception has no message.
via Oracle Community by 843799, 1 year ago
via Oracle Community by 843804, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at javax.swing.ImageIcon.(ImageIcon.java:138)
at test.NewJFrame.initComponents(NewJFrame.java:31)
at test.NewJFrame.(NewJFrame.java:17)
at test.NewJFrame$2.run(NewJFrame.java:55)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Users with the same issue

Once, 1 year ago
8 times, 1 year ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.