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

Stack overflow due to recursion #48

Closed
DJSpyman opened this issue Dec 12, 2016 · 2 comments
Closed

Stack overflow due to recursion #48

DJSpyman opened this issue Dec 12, 2016 · 2 comments
Assignees
Labels

Comments

@DJSpyman
Copy link

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)

@HanSolo HanSolo self-assigned this Dec 13, 2016
@HanSolo
Copy link
Owner

HanSolo commented Dec 13, 2016

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 :)

@HanSolo
Copy link
Owner

HanSolo commented Dec 18, 2016

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!

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

No branches or pull requests

2 participants