New NullPointerException's in Room Lighting

Last night I noticed my motion yard lights, controlled without issue for a month or more by a room lighting app I created, weren't coming on. I went into the logs and found this after each activation, essentially killing the activation:

java.lang.NullPointerException: Cannot get property 'currentSwitch' on null object on line 3039 (method offHandler)

I rebooted the hub and all was well again, but then this evening when I came home, another motion activated yard light, controlled by another room light scheme wasn't working and found a similar error:

java.lang.NullPointerException: Cannot get property 'currentSwitch' on null object on line 3478 (method actHandler)

After filtering the logs for errors, I found a number of incidents just in the last 2 days. I recently upgraded to Beta 114, probably roughly 2-3 days ago.

Also, potentially related, when I went in to check settings on those apps, one of the flood light switches that was in both of them was missing. I haven't touched that device in ages so I wonder if somehow the apps got corrupted with respect to that switch and the null pointers are due to the apps trying to reference it? I added it back in to both so will see how it goes from here. The switch still exists and works fine on its own.

app:2092022-11-27 06:17:59.420 PMerrorjava.lang.NullPointerException: Cannot get property 'currentSwitch' on null object on line 3478 (method actHandler)

app:1932022-11-27 07:20:48.125 AMerrorjava.lang.NullPointerException: Cannot get property 'currentSwitch' on null object on line 3039 (method offHandler)

app:1932022-11-27 07:18:46.492 AMerrorjava.lang.NullPointerException: Cannot get property 'currentSwitch' on null object on line 3039 (method actHandler)

app:1932022-11-27 07:17:42.587 AMerrorjava.lang.NullPointerException: Cannot get property 'currentSwitch' on null object on line 3039 (method offHandler)

app:1932022-11-26 10:22:19.424 PMerrorjava.lang.NullPointerException: Cannot get property 'currentSwitch' on null object on line 3478 (method actHandler)

app:2092022-11-26 10:19:30.624 PMerrorjava.lang.NullPointerException: Cannot get property 'currentSwitch' on null object on line 3478 (method actHandler)

app:1932022-11-26 10:19:11.821 PMerrorjava.lang.NullPointerException: Cannot get property 'currentSwitch' on null object on line 3478 (method actHandler)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.