java.lang.NullPointerException

Coderanch | Johnny Januan | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    problems adding keyListener to JFrame class

    Coderanch | 11 months ago | Johnny Januan
    java.lang.NullPointerException
  2. 0

    problems adding keyListener to JFrame class

    Coderanch | 11 months ago | Johnny Januan
    java.lang.NullPointerException
  3. 0

    problems adding keyListener to JFrame class

    Coderanch | 11 months ago | Norm Radder
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    problems adding keyListener to JFrame class

    Coderanch | 11 months ago | Johnny Januan
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at laberinto.Casilla.paintComponent()
    2. laberinto
      Mapa.paintComponent
      1. laberinto.Casilla.paintComponent(Casilla.java:90)
      2. laberinto.Mapa.paintComponent(Mapa.java:83)
      2 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.JComponent.paint(JComponent.java:1056)
      2. javax.swing.JComponent.paintChildren(JComponent.java:889)
      3. javax.swing.JComponent.paint(JComponent.java:1065)
      4. javax.swing.JComponent.paintChildren(JComponent.java:889)
      5. javax.swing.JComponent.paint(JComponent.java:1065)
      6. javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
      7. javax.swing.JComponent.paintChildren(JComponent.java:889)
      8. javax.swing.JComponent.paintToOffscreen(JComponent.java:5217)
      9. javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
      10. javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
      11. javax.swing.RepaintManager.paint(RepaintManager.java:1272)
      12. javax.swing.JComponent.paint(JComponent.java:1042)
      13. java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
      14. sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79)
      15. sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116)
      16. java.awt.Container.paint(Container.java:1975)
      17. java.awt.Window.paint(Window.java:3912)
      18. javax.swing.RepaintManager$4.run(RepaintManager.java:842)
      19. javax.swing.RepaintManager$4.run(RepaintManager.java:814)
      20. java.security.AccessController.doPrivileged(Native Method)
      21. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      22. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
      23. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
      24. javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
      25. javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
      26. javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
      27. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      28. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      29. java.awt.EventQueue.access$500(EventQueue.java:97)
      30. java.awt.EventQueue$3.run(EventQueue.java:709)
      31. java.awt.EventQueue$3.run(EventQueue.java:703)
      32. java.security.AccessController.doPrivileged(Native Method)
      33. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      34. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      35. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      36. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      37. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      38. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      39. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      40. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      40 frames