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
Hello, I was playing around with Skin Composer and encountered this issue.
I was creating colors but when I blanked out the Saturation field, Skin Composer crashes with:
java.lang.RuntimeException: Actor: PopColorPicker$46
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.Stage.keyTyped(Stage.java:446)
at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:64)
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.Lwjgl3Application.loop(Lwjgl3Application.java:192)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:166)
at com.ray3k.skincomposer.desktop.DesktopLauncher.main(DesktopLauncher.java:487)
Caused by: java.lang.RuntimeException: Actor: PopColorPicker$46
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.TextField.changeText(TextField.java:632)
at com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldClickListener.keyTyped(TextField.java:1072)
at com.ray3k.stripe.PopColorPicker$64.keyTyped(PopColorPicker.java:1568)
at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:57)
at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:188)
... 8 more
Caused by: java.lang.NumberFormatException: For input string: ""
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:672)
at java.base/java.lang.Integer.parseInt(Integer.java:778)
at com.ray3k.stripe.PopColorPicker$47.changed(PopColorPicker.java:1219)
at com.badlogic.gdx.scenes.scene2d.utils.ChangeListener.handle(ChangeListener.java:28)
at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:188)
... 14 more
Integer.parseInt fails to an empty field which is the color saturation.
This unfortunately works with any other field in the color picker.
The text was updated successfully, but these errors were encountered:
Hello, I was playing around with Skin Composer and encountered this issue.
I was creating colors but when I blanked out the Saturation field, Skin Composer crashes with:
Integer.parseInt
fails to an empty field which is the color saturation.This unfortunately works with any other field in the color picker.
The text was updated successfully, but these errors were encountered: