Motion Lighting Error

When setting a Virtual Button as "Button to Push when turned off" in Motion Lightning I get the following error in the log just after turning off all the lights:
java.lang.NullPointerException: Cannot get property 'value' on null object on line 1258 (turnOff)

Pushing the same button device with the same button number from the Device page works as expected. Same issue with a new Motion Lightning app created from scratch. I can replicate this from scratch every time.

I've worked around the issue using a switch that pushed the button, so for me this is no major issue, would like to know what is going on though...

Hubitat version 2.1.7.127

More log messages:
[app:493]2020-01-10 00:02:32.713 [error]java.lang.NullPointerException: Cannot get property 'value' on null object on line 1258 (turnOff)

[app:493]2020-01-10 00:02:32.673 [info]Turning off lights

[app:493]2020-01-10 00:01:32.509 [info]Delaying off for 1 minute

[app:493]2020-01-10 00:01:32.419 [info]Motion inactive Motion - Master Bed Outer Wall

I can confirm the same.

1 Like