[Solved- Twice !] Google Home Built In App "Big Decimal Error" hubitat slow

Seeing this error, and not sure if it is making my hubitat slow, but it is slow.
I have tried removing/ disconnecting hubitat and removing "home" from google an starting all over again, complete uninstall, reboot hub, clean reinstall gives same error. Anyone seen this before?
Thx

app:3592019-03-13 10:08:19.422 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 10:05:53.194 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 10:05:53.165 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 09:52:02.223 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 09:49:32.532 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 09:43:15.611 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 09:40:49.235 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 09:40:49.088 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 09:24:41.316 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (postReportState)

app:3592019-03-13 08:27:40.768 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (postReportState)

app:3592019-03-13 08:23:16.660 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 08:20:50.247 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:3592019-03-13 08:20:46.718 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

What thermostat driver are you using?

the Hubitat built in ecobee thermostat driver

Thank You

Is it currently showing both a heating and a cooling set point in the driver details?

Yes, there are "tiles" for both. I have only heat, no cooling system at all

Current States

  • DeviceWatch-DeviceStatus : offline
  • coolingSetpoint : 80
  • deviceAlive : true
  • deviceTemperatureUnit : F
  • heatingSetpoint : 65
  • humidity : 24
  • maxCoolingSetpoint : 92
  • maxHeatingSetpoint : 68
  • minCoolingSetpoint : 65
  • minHeatingSetpoint : 55
  • resumeProgram : resume
  • supportedThermostatFanModes : [on, auto]
  • supportedThermostatModes : [off, heat]
  • temperature : 65
  • thermostat : Offline
  • thermostatFanMode : auto
  • thermostatMode : heat
  • thermostatOperatingState : idle
  • thermostatSetpoint : 65

You, my friend, are too smart. Removed ecobee device and the ecobee app and my hub is flying. I never knew the hub could be so fast, as soon as I got it ecobee was one of the first to be installed on my new hub.

Good news on one hand, but our own integration shouldn't be capable of swamping our own product...

1 Like

I have seen some similar behavior, but there weren't any logs to indicate anything out of the ordinary. However, I've had it installed at times and saw no issue. It's just not something I use regularly enough to keep loaded, so I've kept it off the system just in case it was the cause.

Well I'm not actually certain if it's on hubitat or ecobee. I mean the last couple months ecobee has had multiple service issues., Which may have required changes in their end, affecting us? I am going to continue to monitor and then reinstall tomorrow and see what happens. Right now I'm tied up deploying 2 unifi ap's and the kids are yelling about the wifi or lack thereof .

1 Like

There isn't a platform I've connected through their API that hasn't dropped at some point. It's a distinct possibility there's an ongoing server issue on their end as part of the issue. Their app seems to almost always connect, although not something I look at regularly, but it's been there when I needed. it.

bad news boyz, without ecobee app loaded, hub is faster but still seeing these errors. according to many resources(opinions) on the web, using bigdecimal in itself is very slow. Not sure if we have any options outside of "bigdecimator"

I see these errors today and hub locked up, lights not automating. When i clicked on app number "964", it takes me to google home app, so maybe my slowdown is not entirely ecobee? what do I know :slight_smile:
app:9642019-03-17 03:30:57.824 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 03:28:29.833 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 03:28:27.937 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 03:24:28.172 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 03:22:00.024 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 03:22:00.020 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 03:20:16.108 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (postReportState)

app:9642019-03-17 02:45:38.178 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 02:43:08.990 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 02:43:06.213 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 02:40:38.064 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 02:40:38.062 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 02:40:29.678 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-17 02:38:02.359 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

so what device types remain selected?

See pic below, if I left out any info let me know
Thank You Mike

I need you to remove each device by driver type that's not using a built in driver until we find the one that's an issue, once we find it we can get it sorted.

1 Like

you mean uncheck a device from google home app, or actually remove the device from hubitat
I'm guessing uncheck from Google app

Correct, just uncheck it.

1 Like

RESOLVED- it was the sonoff wifi driver or the sonoff connect app-both by @ericm
When I unchecked the sonoff wifi switch in google home app my errors went away.
The driver works fantastic, but something with google connect doesn't jive

I'm not using "toBigDecimal" in the driver. Also not seeing any of those error messages.

Hi Eric, the driver works perfect, thank you, something about the combo betwen google home, hubitat and the driver, I have zero coding skills outside of copy-paste.

Are you able to control your sonoff wifi switch via google home integration without errors in the logs?
I'm going to add it back and see if I can reproduce error, maybe it was a fluke?

Hi Again Eric/Mike
as @mike.maxwell advised I have unchecked items 1 by 1 in the google home connector. It appears when i check the Sonoff TH16 switches is when the BigDecimal error returns. I reincluded sonoff TH16 in google home last night, and today get this:
app:9642019-03-25 06:51:48.140 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:49:18.513 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:36:45.987 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:34:15.927 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:34:05.093 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:34:05.083 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:31:32.185 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:31:32.162 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:30:13.764 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:27:49.467 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:27:49.454 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:22:01.316 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:19:33.602 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:19:33.592 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:16:11.594 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (postReportState)

app:9642019-03-25 06:13:00.653 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:10:32.632 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

app:9642019-03-25 06:10:32.575 pm errorjava.lang.NullPointerException: Cannot invoke method toBigDecimal() on null object (stateChangeHandler)

The switches work perfectly fine, have them controlling several lights without any issues, but as soon as they are included in google home connector the error reappears