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 Coderanch by James Brandon, 1 year ago
via Coderanch by James Brandon, 1 year ago
java.lang.NullPointerException: 	at ComplexPanel.paintComponent(ComplexNumberPlot.java:67)	at javax.swing.JComponent.paint(JComponent.java:1027)	at javax.swing.JComponent.paintChildren(JComponent.java:864)	at javax.swing.JComponent.paint(JComponent.java:1036)	at javax.swing.JComponent.paintChildren(JComponent.java:864)	at javax.swing.JComponent.paint(JComponent.java:1036)	at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)	at javax.swing.JComponent.paintChildren(JComponent.java:864)	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)	at javax.swing.RepaintManager.paint(RepaintManager.java:1217)	at javax.swing.JComponent.paint(JComponent.java:1013)	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)	at java.awt.Container.paint(Container.java:1780)	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)