Mode manager crashes

After attempting to remove a switch as a mode manager trigger, I ended up stuck in the interface.

When reloading, I'm getting:

Unexpected Error
An unexpected error has occurred trying to load the app. Check Logs for more information.
Error: Cannot invoke method sort() on null object

with the logs showing:

java.lang.NullPointerException: Cannot invoke method sort() on null object on line 562 (method mainPage)

Restoring to your last backup before it broke is your only option outside of deleting the app and re-adding it.

I recreated my schedule from scratch by deleting and re-adding the app. However, I did trigger the same issue by deleting a presence condition for a mode. It looks to me like there a bug when deleting conditions.

Can you show a screenshot of what you mean? You've said "mode manager trigger" and "presence condition for a mode", but I don't know what you mean by that.

Sure. Click "-" in the "Set Mode with Switches" and removing the conditions for Away gives me the error when reloading the app:

Do you mean remove the entire Away Mode from the Switch table?

Correct, although I can only remove the first row through the interface, which may be the root of the problem. And I should have mentioned that this is with 2.3.4.119.

As I mentioned, I worked around my problem by starting over from scratch so I'm good now, but it looks like a bug in the latest version.

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