Just received my Hubitat and thought I would start off integrating to my hue hub and setting up modes. Most of the hue integration went ok although one device has not been pulled in and yet is shown with a green tick still.
Then when setting up a mode and using the earlier of two times option as soon as I select sunrise as a time then I get the following error.
Unexpected Error
An unexpected error has occurred trying to load the app. Check Logs for more information.
Error: Cannot invoke method format() on null object
Logs donโt appear to show anything. It doesnโt make a difference if the first time or the second time is set to sunrise. It then seems to be unable to go back or continue. So I selected the settings wheel and removed the mode manager app and reinstalled to have the same thing occur every time.
If these aren't being set, then it is a question for HE staff and hopefully a case of simply waiting for the events to roll around in the next 12 - 24 hours.
Sunrise/set should be recalculated at start up. There was a bug early on that created an error if you weren't migrating from the earlier version, but I believe it was corrected. May want to try adding your mode initially with just a time of day, hit done all the way out of Mode Manager, and then come back in and adjust it to include the earlier of criteria.