Skip to content

App crashes when enabling the angle property on an emitter. #15

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

Open
angns9 opened this issue Mar 29, 2025 · 0 comments
Open

App crashes when enabling the angle property on an emitter. #15

angns9 opened this issue Mar 29, 2025 · 0 comments

Comments

@angns9
Copy link

angns9 commented Mar 29, 2025

Reproduction steps

Load a template/file containing an emitter that doesn't have set the angle property yet (e.g., the Empty template); select that emitter and then try to enable the property to trigger the crash.

Log

Version: ver 1.0.9
OS: Windows
com.ray3k.gdxparticleeditor.lwjgl3.Lwjgl3Launcher: Error while running application
java.lang.RuntimeException: Actor: CheckBox: Angle
	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:354)
	at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
	at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:229)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:378)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:193)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:167)
	at com.ray3k.gdxparticleeditor.lwjgl3.Lwjgl3Launcher.createApplication(Lwjgl3Launcher.java:20)
	at com.ray3k.gdxparticleeditor.lwjgl3.Lwjgl3Launcher.main(Lwjgl3Launcher.java:12)
Caused by: java.lang.NullPointerException: Cannot read field "lowMin" because "value" is null
	at com.badlogic.gdx.graphics.g2d.ParticleEmitter$RangedNumericValue.set(ParticleEmitter.java:1348)
	at com.badlogic.gdx.graphics.g2d.ParticleEmitter$ScaledNumericValue.set(ParticleEmitter.java:1423)
	at com.ray3k.gdxparticleeditor.undo.undoables.SetPropertyUndoable.activateProperty(SetPropertyUndoable.java:76)
	at com.ray3k.gdxparticleeditor.undo.undoables.SetPropertyUndoable.start(SetPropertyUndoable.java:43)
	at com.ray3k.gdxparticleeditor.undo.UndoManager.add(UndoManager.java:23)
	at com.ray3k.gdxparticleeditor.widgets.poptables.PopAddProperty.lambda$new$5(PopAddProperty.java:130)
	at com.ray3k.gdxparticleeditor.Listeners$2.changed(Listeners.java:89)
	at com.badlogic.gdx.scenes.scene2d.utils.ChangeListener.handle(ChangeListener.java:28)
	at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:188)
	... 13 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