Thermostat Controller app crashed

Tried to go into thermostat controller because even though the virtual device said heating point was 67 the actual device was never getting the house above 65. When I clicked on the app it crashed and I saw this:

found this in the logs:

[app:2257](http://192.168.13.45/logs#pastapp2257)2021-02-03 09:45:18.983 am [error](http://192.168.13.45/installedapp/configure/2257)groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.trim() is applicable for argument types: () values: [] Possible solutions: tail(), tail(), wait(), grep(), min(), sum() on line 162 (mainPage)

[app:2257](http://192.168.13.45/logs#pastapp2257)2021-02-03 09:44:04.751 am [error](http://192.168.13.45/installedapp/configure/2257)groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.trim() is applicable for argument types: () values: [] Possible solutions: tail(), tail(), wait(), grep(), min(), sum() on line 162 (mainPage)

Before I delete and remove all I figured I'd leave it as is in case someone needs/wants to look at something.

@bravenel

Update, removed it and tried to re-install it. Crashes right after I select my thermostat to control.

Same error as above.

Known bug. Fix has just been released. 2.2.5.128

Downloading now, thanks!

@bravenel

With 2.2.5.128 the app no longer crashes. However, it now does not control the "controlled" thermostat. The virtual thermostat does it's thing, but no setpoint commands appear to be sent to the controller thermostat device.

I tested with my existing app instance and with a new app instance. Same result.

Did you open the app and click Done?

Yes I did. With both the existing instance and the previous one. Went through many tests of controlled/free, set point changes, auto/heat, etc.

Rolled back to 2.2.5.125 again for now as it's a bit chilly in the NE and I don't have any more time to mess with it for now.

Din you set Control to Controlled?

I am having the same issues. The thermostat controllers I already had stopped working, when I try going into them (the app, not device), they crash immediately so cannot see the settings any longer. I removed them, tried adding a new one, went to the screen to select thermostats (instead of a single thermostat now), click update, it crashes so a new one cannot be created.

I rolled back to 126 for now and all is well again.

Yes, I tested toggling controlled/free a few times (clicking done each time).

After uninstalling and now reinstalling as stated above, I'm seeing the same thing. Something isn't correct. It is set to controlled.

I'm seeing these two errors after updating to 2.2.5.128:

app:10262021-02-03 12:24:19.824 errorjava.lang.NullPointerException: Cannot invoke method minus() on null object on line 39 (mainPage)
app:10262021-02-03 12:24:14.635 errorjava.lang.NullPointerException: Cannot invoke method contains() on null object on line 601 (thermHandler)

Thermostat Controller app is bombing out.. I noticed issues a few releases ago...

app:5552021-02-03 03:54:58.778 pm errorjava.lang.NullPointerException: Cannot invoke method minus() on null object on line 39 (mainPage)

app:5552021-02-03 03:54:54.933 pm errorjava.lang.NullPointerException: Cannot get property 'currentThermostatMode' on null object on line 523 (installed)

Can you confirm you've updated to 2.2.5.128?

Yes

1 Like

I upgraded to 128 and made my existing thermostat controller apps crash (could not.get into them because of error) and not work. Then I couldn't create new ones because they crashed after selecting a thermostat. Went back to 126 and everything worked fine again.

Hubitat - any updates on this?

It started getting chilly in the house when I realized the heater won’t even turn on with the new bug. I rolled back to .126 and the heater fired right back up.

Are we going to get a patch? I had issues reverting to a previous release so I'm hard down.

Can you run your original thermostat the old fashioned way prior to this app? That's what I'm doing.