org.newdawn.slick.SlickException: Failed to parse tilemap

Game Development | Jota_sk | 2 years ago
  1. 0

    How import and draw a tiledmap with slick2d

    Game Development | 2 years ago | Jota_sk
    org.newdawn.slick.SlickException: Failed to parse tilemap
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: ""

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(Unknown Source)
    2. java.lang.Integer.parseInt(Unknown Source)
    3. java.lang.Integer.parseInt(Unknown Source)
    3 frames
  3. Slick2D game development library
    TiledMap.<init>
    1. org.newdawn.slick.tiled.TiledMap$ObjectGroup.<init>(TiledMap.java:1008)
    2. org.newdawn.slick.tiled.TiledMap.load(TiledMap.java:688)
    3. org.newdawn.slick.tiled.TiledMap.<init>(TiledMap.java:106)
    3 frames
  4. gameEngine
    Map.init
    1. gameEngine.Map.init(Map.java:54)
    1 frame
  5. states
    Play.init
    1. states.Play.init(Play.java:26)
    1 frame
  6. Slick2D game development library
    AppGameContainer.start
    1. org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:171)
    2. org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:393)
    3. org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:317)
    3 frames
  7. gameEngine
    Main.main
    1. gameEngine.Main.main(Main.java:31)
    1 frame