java.lang.NullPointerException

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

    how to load an applet with 2 classes and get it to display properly

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

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at Exercise4.Exercise4a.Door.paint()
    2. Exercise4.Exercise4a
      Exercise4a.init
      1. Exercise4.Exercise4a.Door.paint(Door.java:23)
      2. Exercise4.Exercise4a.Exercise4a.init(Exercise4a.java:11)
      2 frames
    3. Java RT
      Thread.run
      1. sun.applet.AppletPanel.run(AppletPanel.java:341)
      2. java.lang.Thread.run(Thread.java:536)
      2 frames