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 GitHub by gcode-importer
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at ImageViewer.paint(ImageViewer.java:223)	at javax.swing.JComponent.paintChildren(JComponent.java:866)	at javax.swing.JComponent.paint(JComponent.java:1038)	at javax.swing.JComponent.paintChildren(JComponent.java:866)	at javax.swing.JComponent.paint(JComponent.java:1038)	at javax.swing.JLayeredPane.paint(JLayeredPane.java:581)	at javax.swing.JComponent.paintChildren(JComponent.java:866)	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5145)	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302)	at javax.swing.RepaintManager.paint(RepaintManager.java:1145)	at javax.swing.JComponent.paint(JComponent.java:1015)	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)	at java.awt.Container.paint(Container.java:1844)	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:751)	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:696)	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:676)	at javax.swing.RepaintManager.access$700(RepaintManager.java:57)	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1550)	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)	at java.awt.EventQueue.access$000(EventQueue.java:96)	at java.awt.EventQueue$1.run(EventQueue.java:608)	at java.awt.EventQueue$1.run(EventQueue.java:606)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)