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

Rainfall history tile creation crashes if option is turned off #9

Open
xcguy opened this issue Apr 24, 2023 · 0 comments · May be fixed by #10
Open

Rainfall history tile creation crashes if option is turned off #9

xcguy opened this issue Apr 24, 2023 · 0 comments · May be fixed by #10

Comments

@xcguy
Copy link

xcguy commented Apr 24, 2023

When the option "Create a 7-Day Rain History Tile" (var: rainhistory) is turned off, the refresh code in 'rainTile' will crash with:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'null' with class 'null' to class 'int'. Try 'java.lang.Integer' instead
This crash can have a cascading effect, as the polling code is executed during an update, and thus causes the poll scheduling (and auto log info off feature) to not be programmed. This effectively breaks the driver, as no weather updates will be requested.

@xcguy xcguy linked a pull request Apr 24, 2023 that will close this issue
@xcguy xcguy changed the title Rainfall history title creation crashes if option is turned off Rainfall history tile creation crashes if option is turned off May 12, 2023
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

Successfully merging a pull request may close this issue.

1 participant