TADO Integration broken with 2.3.0.115

I updated to 2.3.0.115 today and since updating my Tado integration is failing.
I reverted back to 2.3.0.113 and the integration now works again.
I'm receiving the following error in the logs.
app:92412021-12-04 15:51:01.334 errorjava.lang.NullPointerException: Cannot invoke method sort() on null object on line 270 (method poll)
The code from the app around line 270 is as follows.

def getDeviceList() {
  def TadoDevices = getZonesCommand()
  return TadoDevices.sort()
}

def getUserList() {
  def TadoUsers = getMobileDevicesCommand()
  return TadoUsers.sort()
}

I'm assuming the latest doesn't like this anymore for whatever reason.
Any thoughts on what the code should be now to get this working again?
I'm not a coder so any thoughts gratefully received.

Could the issue also be related to this @gopher.ny?

Probably... grab 2.3.0.116, just out now.

2 Likes

Thanks. I'll give it a whirl.

Spot on.
Thanks @gopher.ny.
:+1:

Perhaps related, my SurePet pet door integration (user) (a WiFi integration) started giving NPE on every status poll to the cloud with 2.3.0.115, so I disabled the SurePet app to stop the NPE errors. Installed 2.3.0.116, re-enabled the app, and the NPE errors have stopped.

Screenshot of log errors

Screenshot of App code

This is the same app that started throwing errors in the same routine on lines 694 and 695 in 2.3.0.111, which you diagnosed as being caused by a type checking change in the updateSetting() routine (type "time" needed to be type "Date"), which was discussed here:

Anyway, whatever you did in 2.3.0.116 fixed the NPE errors. All better now. Thanks.

1 Like