blade-ink-template
blade-ink-template copied to clipboard
Exception: choice out of range null
I believe the error happened while resizing the window. I ran the template using ./gradlew desktop:run with default values and files, just like it is on git, without changing anything.
StoryScreen: RESIZING STORY SCREEN.
StoryScreen: RESIZING STORY SCREEN.
StoryScreen: RESIZING STORY SCREEN.
StoryManager: choice out of range null
java.lang.Exception: choice out of range null
at com.bladecoder.ink.runtime.Story.Assert(Story.java:169)
at com.bladecoder.ink.runtime.Story.chooseChoiceIndex(Story.java:369)
at com.bladecoder.inkplayer.StoryManager.selectChoice(StoryManager.java:332)
at com.bladecoder.inkplayer.ui.StoryScreen$3.run(StoryScreen.java:222)
at com.badlogic.gdx.scenes.scene2d.actions.RunnableAction.run(RunnableAction.java:42)
at com.badlogic.gdx.scenes.scene2d.actions.RunnableAction.act(RunnableAction.java:32)
at com.badlogic.gdx.scenes.scene2d.actions.SequenceAction.act(SequenceAction.java:65)
at com.badlogic.gdx.scenes.scene2d.Actor.act(Actor.java:96)
at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:46)
at com.badlogic.gdx.scenes.scene2d.ui.ScrollPane.act(ScrollPane.java:271)
at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:49)
at com.badlogic.gdx.scenes.scene2d.Stage.act(Stage.java:221)
at com.bladecoder.inkplayer.ui.StoryScreen.update(StoryScreen.java:171)
at com.bladecoder.inkplayer.ui.StoryScreen.render(StoryScreen.java:193)
at com.bladecoder.inkplayer.ui.UI.render(UI.java:139)
at com.bladecoder.inkplayer.InkApp.render(InkApp.java:144)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
StoryScreen: RESIZING STORY SCREEN.