Mode Manager parse exception

[This was put in Integration, should have been here, don't know how to move it]
I've had automations fail in the last week+ and could not find the reason but just last night noticed that the Mode did not change.
Running a C4 hub with the latest update (2.3.2.139).
When I click on Mode manager I get this exception:

app:2042022-07-18 09:08:16.966 am errorjava.text.ParseException: Unparseable date: "7:00" on line 1010 (method mainPage)

I have not changed the mode date/time in a long time (years) so not sure why this happened, but more importantly no idea how to fix it.

1 Like

You can use the edit (pencil) icon next to your topic (thread) name to move a post to a new category:
image
If your account is too new, it's possible you may not have these permissions yet--but that doesn't look like it should be the case for you. At this point, we can just ask a moderator to delete the "old" topic.

1 Like

I noticed that I can look at the Modes setting (gear icon) when I get this error. I see this setting in the "Application State" properties box:
Name: str
Value: Day: at 7:00 AM Night: at 10:00 PM Modes to ignore time changes: Away

I also see that I can export the settings as a Json file, I can't attach so I'll paste it below.
I've updated to the latest build (141) but still no go.
@bravenel and idea? Should I try to delete Mode Manager and import these settings?
(I didn't see anywhere to 'report a bug' so if there is let me know).
Thanks, here's the json:

{"deviceReplacements":{"134":{"deviceName":"AwayMode","deviceLabel":"Away Mode","deviceTypeName":"Virtual Switch","deviceTypeNamespace":"hubitat"}},"appReplacements":{"204":{"appTypeName":"Mode Manager","appTypeNamespace":"hubitat","appType":"sys","appName":"Mode Manager","appLabel":"Mode Manager <span style='color:green'>Day</span>","parentAppInstalledAppId":null,"parentAppTypeName":null,"parentAppTypeNamespace":null,"parentAppName":null,"parentAppLabel":null,"childApps":{},"singleInstance":true}},"appData":{"204":{"state":{"str":"Day: at 7:00 AM\\nNight: at 10:00 PM\\nModes to ignore time changes: Away\\n","updateIgnore":true,"later":{},"earlier":{},"shadowMode":"Day","strS":"Away: Away Mode ON\\nDay: Away Mode OFF\\n","strD":"","strB":"","clonedName":"Mode Manager <span style='color:green'>Day</span>","updated":true},"appSettings":[{"deviceList":null,"multiple":true,"name":"switchOffNight","type":"capability.switch","value":null},{"deviceList":null,"multiple":true,"name":"daysAway","type":"enum","value":null},{"deviceList":null,"multiple":true,"name":"ignoreModes","type":"enum","value":"[\\"Away\\"]"},{"deviceList":null,"multiple":false,"name":"atTime11Night","type":"time","value":"22:00"},{"deviceList":null,"multiple":false,"name":"time11Night","type":"enum","value":"A specific time"},{"deviceList":null,"multiple":false,"name":"atTime11Day","type":"time","value":"7:00"},{"deviceList":null,"multiple":true,"name":"daysDay","type":"enum","value":null},{"deviceList":null,"multiple":true,"name":"switchOnNight","type":"capability.switch","value":null},{"deviceList":null,"multiple":true,"name":"buttonAway","type":"capability.pushableButton","value":null},{"deviceList":{"134":"Away Mode"},"multiple":true,"name":"switchOnAway","type":"capability.switch","value":null},{"deviceList":null,"multiple":true,"name":"daysNight","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"useTimesS","type":"bool","value":""},{"deviceList":null,"multiple":true,"name":"switchOffEvening","type":"capability.switch","value":null},{"deviceList":null,"multiple":true,"name":"switchOffAway","type":"capability.switch","value":null},{"deviceList":null,"multiple":true,"name":"daysEvening","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"time11Day","type":"enum","value":"A specific time"},{"deviceList":null,"multiple":true,"name":"buttonNight","type":"capability.pushableButton","value":null},{"deviceList":null,"multiple":true,"name":"switchOnEvening","type":"capability.switch","value":null},{"deviceList":null,"multiple":true,"name":"buttonEvening","type":"capability.pushableButton","value":null},{"deviceList":null,"multiple":false,"name":"type1Evening","type":"enum","value":"Certain time"},{"deviceList":null,"multiple":true,"name":"switchOnDay","type":"capability.switch","value":null},{"deviceList":null,"multiple":false,"name":"type1Night","type":"enum","value":"Certain time"},{"deviceList":null,"multiple":false,"name":"useTimesB","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"daily","type":"bool","value":"false"},{"deviceList":{"134":"Away Mode"},"multiple":true,"name":"switchOffDay","type":"capability.switch","value":null},{"deviceList":null,"multiple":false,"name":"logging","type":"bool","value":"true"},{"deviceList":null,"multiple":false,"name":"type1Day","type":"enum","value":"Certain time"},{"deviceList":null,"multiple":true,"name":"buttonDay","type":"capability.pushableButton","value":null}],"subscriptions":[]}}}

This suggests a possibly corrupted database. You should restore to a prior one, and/or do a Backup / Soft Reset / Restore sequence. If those steps don't bring Mode Manager back, you should remove it and recreate it.

Thanks for the fast response. I tried a quick backup/restore, no go, then a backup/soft reset/restore and that didn't work either.
With that Json description I was be able to recreate my Modes without a problem, all seems fine now. Thanks for the suggestions.