Rule5.1 - java.lang.NullPointerException: Cannot invoke method toLong() on null object on line 5353 (method allHandler)

Greetings.

I have set up an instance of thermostat scheduler, it works fine.

I also have a Rule 5.1 app that sets that TS scheduler instance to HOLD at a certain time of the day.

I am not sure when this became an issue, I just noticed in the last month or-so as the warm season gets going, it's not HOLDing the TS scheduler during that time.

Looking closer, I see this in the Rule 5.1 app logs:

Here is the Rule 5.1 app itself:

Here is the TS scheduler:

I found somewhat similar posts for similar errors, but nothing helpful.

Any ideas?

Thanks!

Need to know what hub and what platform version it is running.

Apologies, here is the info:

HubInfo

Need to call in the developer.
@bravenel I cannot see why this rule would be trying to convert anything "toLong" when it is trying to set the hold status?

Please open the App Status page for the rule (gear icon upper right in rule). At the top of that page are Settings, one of which should start with "thisApp" -- could you show a screenshot of that portion of the App Status page.

1 Like

Looks like this is it:

What app has id 630?

Try this url: [your-hub-ip]/installedapp/configure/630 to open the app if needed.

It's the aforementioned thermostat scheduler

I'm looking into this...

I can't find any problem with this in my testing, so I'm not at all sure what is going on. My suggestion is to try this: Remove those actions that set Thermostat Scheduler, and create them again. See if that fixes it or not, and let me know.

1 Like

ok, will do.

thanks for looking!

ok, that seems to have worked.

I'll mark that as the resolution.

Thanks for your help!

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.