Exception in Mode Manager

I have configured a mode "Aften", that I would like to activate 30 minutes before sunset. But it fails with this error in the log:
2021-04-13 19:43:00.134 errorjava.lang.NullPointerException: Cannot get property 'thisMode' on null object on line 455 (timeHandlerNew)

I have tried removing the Mode Manager App, and recreate the rules from scratch, but I get the same result.

Thanks for bringing this to my attention. I think I can see the problem in the code. I suspect this happens only on the first day after you install the app, and will sort itself out after the first day. I will put in a fix for the next release, but see if it will work on the second day.

I think you are right. Apparently the mode was changed correctly today.

Glad to hear that. A fix for the first day bug will be in the next release.