Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help me, i can't play, crashed #147

Open
ta3ke opened this issue Aug 9, 2024 · 0 comments
Open

Help me, i can't play, crashed #147

ta3ke opened this issue Aug 9, 2024 · 0 comments

Comments

@ta3ke
Copy link

ta3ke commented Aug 9, 2024

just clone, just run gradlew.bat desktop:run
In JDK17

The game ran well. However, when you select a character and press the OK button, it crashes.

.....
DEBUG [StatList] maxlightresist(42)=75
DEBUG [StatList] maxcoldresist(44)=75
DEBUG [StatList] maxpoisonresist(46)=75
Exception in thread "LWJGL Application" java.lang.RuntimeException: Actor: OK
| Label: OK
at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:192)
at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:152)
at com.badlogic.gdx.scenes.scene2d.ui.Button.setChecked(Button.java:125)
at com.badlogic.gdx.scenes.scene2d.ui.Button$1.clicked(Button.java:93)
at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:88)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:71)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:355)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:124)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:124)
at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
at com.badlogic.gdx.backends.lwjgl.DefaultLwjglInput.processEvents(DefaultLwjglInput.java:255)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:220)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:127)
Caused by: java.lang.NullPointerException: Cannot invoke "com.riiablo.attributes.StatRef.asInt()" because the return value of "com.riiablo.attributes.Attributes.get(short)" is null
at com.riiablo.screen.GameScreen.(GameScreen.java:264)
at com.riiablo.screen.GameScreen.(GameScreen.java:259)
at com.riiablo.screen.CreateCharacterScreen$5.changed(CreateCharacterScreen.java:196)
at com.badlogic.gdx.scenes.scene2d.utils.ChangeListener.handle(ChangeListener.java:28)
at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:188)
... 12 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant