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
Repro:
I set the maxValue of a gauge (with setAutoScale(true) set) during runtime
Exception in thread "JavaFX Application Thread" java.lang.StackOverflowError
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
The text was updated successfully, but these errors were encountered:
Can you please provide some code that reproduces the problem? I guess you set the max value during the timeline animation was still running or it's related to the min and max values you use. Like mentioned, a piece of code would help a lot :)
If you would like me to have a closer look into your problem, please provide some sample code that makes it possible to reproduce it, otherwise I will close this issue!
Repro:
I set the maxValue of a gauge (with setAutoScale(true) set) during runtime
Exception in thread "JavaFX Application Thread" java.lang.StackOverflowError
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
at eu.hansolo.medusa.Gauge.setMajorTickSpace(Gauge.java:4401)
at eu.hansolo.medusa.Gauge.calcAutoScale(Gauge.java:5086)
at eu.hansolo.medusa.skins.GaugeSkin.handleEvents(GaugeSkin.java:357)
at eu.hansolo.medusa.skins.GaugeSkin.lambda$registerListeners$4(GaugeSkin.java:297)
at eu.hansolo.medusa.Gauge.fireUpdateEvent(Gauge.java:5458)
The text was updated successfully, but these errors were encountered: