Hi guys,
I have an Aqara wall switch which I'm trying to use into a Button Controller rule. I created the button controller rule and all saved fine. However when I press the button on the Aqara wall switch, I immediately get the following in the logs:
2019-05-04 11:30:09.335 am [error](http://192.168.3.20/installedapp/configure/293)java.lang.NullPointerException: Cannot invoke method toInteger() on null object (buttonHandler)
Below is my button controller rule:
Any ideas what could be wrong?
Please take a screenshot of your logs instead of copy-paste, so I can see the context. Upon what action did this error occur?
ok i've done further testing and I've narrowed down the reason for the nullpointer exception.
If I use "Activate Scene" then there's no exception.
If I use "Activate Scene per Mode" then I get the nullpointer exception. I think might a bug around here....
There's no details in the logs other than the exception:
This bug has been fixed and the fix will be in the next release.
1 Like