java.lang.NullPointerException

Oracle Community | 807549 | 1 decade 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

    3 quick questions regarding error i got, alignment, and rectangle drawing

    Oracle Community | 1 decade ago | 807593
    java.lang.NullPointerException
  2. 0

    3 questions regarding alignment, rectangle drawing, and a error I get

    Oracle Community | 1 decade ago | 807549
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at PianoApplet.paint()
    2. Unknown
      PianoApplet.paint
      1. PianoApplet.paint(PianoApplet.java)
      1 frame
    3. Java RT
      EventDispatchThread.run
      1. java.awt.Container.update(Container.java:976)
      2. sun.awt.RepaintArea.update(RepaintArea.java:332)
      3. sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:195)
      4. java.awt.Component.dispatchEventImpl(Component.java:2658)
      5. java.awt.Container.dispatchEventImpl(Container.java:1208)
      6. java.awt.Component.dispatchEvent(Component.java:2492)
      7. java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
      8. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
      9. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
      10. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
      11. java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
      11 frames