java.lang.NullPointerException

Stack Overflow | BadAssPanda | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Java StateBasedGame nullpointerexception

    Stack Overflow | 6 months ago | BadAssPanda
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at Game.Game.initStatesList()
    2. Game
      Game.initStatesList
      1. Game.Game.initStatesList(Game.java:23)
      1 frame
    3. Slick2D game development library
      AppGameContainer.start
      1. org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:164)
      2. org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:393)
      3. org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:317)
      3 frames
    4. Game
      Game.main
      1. Game.Game.main(Game.java:35)
      1 frame