org.newdawn.slick.SlickException: Game.update() failure.

GitHub | legendtang | 2 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.

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    -1

    at itdelatrisu.opsu.objects.curves.LinearBezier.<init>()
  2. itdelatrisu.opsu.objects
    Slider.<init>
    1. itdelatrisu.opsu.objects.curves.LinearBezier.<init>(LinearBezier.java:141)
    2. itdelatrisu.opsu.objects.Slider.<init>(Slider.java:141)
    2 frames
  3. itdelatrisu.opsu.states
    Game.enter
    1. itdelatrisu.opsu.states.Game.enter(Game.java:756)
    1 frame
  4. Slick2D game development library
    GameContainer.updateAndRender
    1. org.newdawn.slick.state.StateBasedGame.update(StateBasedGame.java:248)
    2. org.newdawn.slick.GameContainer.updateAndRender(GameContainer.java:702)
    2 frames
  5. itdelatrisu.opsu
    Opsu.main
    1. itdelatrisu.opsu.Container.gameLoop(Container.java:93)
    2. itdelatrisu.opsu.Container.start(Container.java:67)
    3. itdelatrisu.opsu.Opsu.main(Opsu.java:165)
    3 frames