You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
Polygon looked something like this before it crashed, with the "8"-vertex being moved over the point to the left of it:
Stacktrace from crash
java.lang.NullPointerException: Cannot read the array length because "data" is null
at games.rednblack.editor.controller.commands.component.UpdatePolygonVerticesCommand.cloneData(UpdatePolygonVerticesCommand.java:95)
at games.rednblack.editor.controller.commands.component.UpdatePolygonVerticesCommand.payload(UpdatePolygonVerticesCommand.java:86)
at games.rednblack.editor.view.stage.tools.PolygonTool.vertexUp(PolygonTool.java:149)
at games.rednblack.editor.view.ui.followers.PolygonFollower$LineClickListener.touchUp(PolygonFollower.java:287)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:71)
at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:354)
at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:124)
at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:189)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:378)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationGLESFix.loop(Lwjgl3ApplicationGLESFix.java:192)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationGLESFix.<init>(Lwjgl3ApplicationGLESFix.java:166)
at games.rednblack.editor.Main.main(Main.java:57)
The text was updated successfully, but these errors were encountered:
Really thanks for all the detailed reports :) In the last commit I probably catch up the NPE but not sure, I'll let this open if you experience other crashes
Describe the bug
I was drawing a polygon that wrapped around itself and caused the app to crash.
To Reproduce
I couldn't repro the bug.
Steps to reproduce the behavior:
Expected behavior
No crash.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Polygon looked something like this before it crashed, with the "8"-vertex being moved over the point to the left of it:
Stacktrace from crash
The text was updated successfully, but these errors were encountered: