Google Home hourly error: toBigDecimal() on null object

I have been seeing these errors generated by the Google Home built in app about every 57 minutes. I've disabled the Option in the app "Device Offline Polling Interval" as others have said this helped them with their problems. The devices I've included use mostly built-in switches & plugs drivers: Zooz, EVA Logik, Minoston, Generic.
With the exception of around 22:00 and 22:30 when I've got some other apps doing nightly chores, the period is unmistakable. It doesn't seem to be causing any problems with Google Home, but I'm still wondering if there's something simple I can do stop the noise.

app:2182022-02-03 09:57:35.650 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 09:00:36.009 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 08:03:36.599 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 07:06:36.808 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 06:09:37.022 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 05:12:37.349 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 04:15:37.654 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 03:18:37.886 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 02:21:38.103 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 01:24:38.395 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-03 00:27:38.707 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-02 23:30:38.973 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-02 22:33:39.392 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-02 22:10:02.254 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method stateChangeHandler)

app:2182022-02-02 22:10:02.254 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method stateChangeHandler)

app:2182022-02-02 21:36:39.763 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-02 20:39:40.397 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-02 19:42:40.517 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-02 18:45:40.684 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

app:2182022-02-02 17:48:40.881 errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object on line 1131 (method postReportState)

any thermostats?

No, none. I do see now at the bottom of the Google Home App Settings page the list for Scheduled Jobs with the one (getReportStateToken) that is generating the 57 minute interval, (but I bet you knew that).

the section of code throwing an error is trying to convert a temperature in Fahrenheit into Celsius (which is what google needs), this conversion only happens when a thermostat device is present and one of the thermostat attributes (setpoints or temperature) is null.
So I'm not sure how this is happening if you don't have a thermostat selected in the GH integration...

Well, there is a temperature produced in the Minoston Mini Plug Dimmer system driver. I'm unsure what it's use is...maybe to tell whether the plug is overheating. Perhaps I'll try changing the driver to something else.

I've long wondered about that same log entry too (I get also get it) -- I do not have any thermostats integrated to GH via Hubitat, but I'll look for any temp-reporting whatever devices.

Thanks for bringing this issue up - this would be a nice mystery to solve!

I just removed the Minoston device from the Google Home list, updated, saved and now there are no pending jobs to report states. I suspect this will stop this error. I'll keep looking throughout the day.

1 Like