SmartThings
SmartThings copied to clipboard
When Setting Dimmer Level - java.lang.NullPointerException: Cannot invoke method and() on null object @ line 481
Hi - thanks for the work you've obviously put into this :)
I have a couple of issues - not sure if they mean anything to you or they can be fixed or not. I will put them into separate posts so that other people can see and follow them more easily.
- When I try to set the dimmer level from the app tile - I get: "java.lang.NullPointerException: Cannot invoke method and() on null object @ line 481" extract from Live Logging below: =========== 15:06:50: error java.lang.NullPointerException: Cannot invoke method and() on null object @ line 481 15:06:50: info Dimmer level is 90% 15:06:50: info Dimmer turned on. 15:06:31: info Setting dimmer to 90% 5:06:30: error java.lang.NullPointerException: Cannot invoke method and() on null object @ line 481 ===========
Many thanks, Mark
Surely all the '&' logic should be '&&' otherwise it becomes bitwise. Is this what was intended?