-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
NPE in ScaleTransformationService #8011
Comments
Did some further investigation and found the defect items: Example item:
spektrum.scale:
The item was used with hue-binding before and was type dimmer. Now with deconz binding this is type Number and has a value 2095, which is outside of all ranges. Maybe this is causing the problem |
The deconz binding uses the color temperature in Kelvin. But that should not result in an NPE. |
@J-N-K I tried to reproduce your fix and started with introducing your additional Unit-Testcase but used existing humidex.scale file with range up to 100 with a value of 200 and the test case passed fine. So I had a closer look on it and noticed the test-case failed with a NPE only when I introduced the last line to humidex,scale file
So it seems that line is the real problem and I'm not sure whether your fix is still neccessary or whether this line is invalid configuration on my side? |
IMO NaN is perfectly valid here. It‘s the implementation that‘s flawed. |
Expected Behavior
Tried to load Control Page in PaperUI
Current Behavior
Page is empty and the is as NPE Stacktrace caused by ScaleTransformationService:
Your Environment
The text was updated successfully, but these errors were encountered: