java.lang.NullPointerException

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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at javagame.Game.initStatesList()
  2. javagame
    Game.initStatesList
    1. javagame.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. javagame
    Game.main
    1. javagame.Game.main(Game.java:35)
    1 frame