java.lang.NullPointerException

Coderanch | James Brandon | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

    Coderanch | 8 years ago | James Brandon
    java.lang.NullPointerException
  2. 0

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

    Coderanch | 8 years ago | James Brandon
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at ComplexPanel.paintComponent()
    2. Unknown
      ComplexPanel.paintComponent
      1. ComplexPanel.paintComponent(ComplexNumberPlot.java:67)
      1 frame
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.JComponent.paint(JComponent.java:1027)
      2. javax.swing.JComponent.paintChildren(JComponent.java:864)
      3. javax.swing.JComponent.paint(JComponent.java:1036)
      4. javax.swing.JComponent.paintChildren(JComponent.java:864)
      5. javax.swing.JComponent.paint(JComponent.java:1036)
      6. javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
      7. javax.swing.JComponent.paintChildren(JComponent.java:864)
      8. javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)
      9. javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)
      10. javax.swing.RepaintManager.paint(RepaintManager.java:1217)
      11. javax.swing.JComponent.paint(JComponent.java:1013)
      12. java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
      13. sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
      14. sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
      15. java.awt.Container.paint(Container.java:1780)
      16. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
      17. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
      18. javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
      19. javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
      20. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      21. java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      22. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      23. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      24. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      25. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      26. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      27. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      27 frames