java.lang.NullPointerException

Coderanch | Jake Cirino | 4 years 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

    What is this error?

    Coderanch | 4 years ago | Jake Cirino
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.fanger.asp.graphics.util.SpriteSheet.getSprite()
    2. com.fanger.asp
      SpriteSheetTest.paint
      1. com.fanger.asp.graphics.util.SpriteSheet.getSprite(SpriteSheet.java:50)
      2. com.fanger.asp.testclasses.SpriteSheetTest.paint(SpriteSheetTest.java:30)
      2 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      2. javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      3. javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
      4. javax.swing.RepaintManager.access$700(Unknown Source)
      5. javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
      6. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      7. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      8. java.awt.EventQueue.access$000(Unknown Source)
      9. java.awt.EventQueue$3.run(Unknown Source)
      10. java.awt.EventQueue$3.run(Unknown Source)
      11. java.security.AccessController.doPrivileged(Native Method)
      12. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      13. java.awt.EventQueue.dispatchEvent(Unknown Source)
      14. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      15. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      16. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      17. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      18. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      19. java.awt.EventDispatchThread.run(Unknown Source)
      19 frames