Log4OM 2.34 fails to start again after it's stopped

Post Reply
N9LR
New user
Posts: 2
Joined: 18 May 2020, 02:33

Log4OM 2.34 fails to start again after it's stopped

Post by N9LR »

Tried to search for key words, but "fails to start" is very generic :)

Log4OM, version 2.34.0.0 (was happening with previous versions), on Windows 10, only logger/no CAT

After gracefully closing (shutting) down the running instance, the very next attempt to start the logger fails at some point, with log (LOG4OM2_log_UI_20250213.log) indicating :

2025-02-13 07:59:49.6976 INFO: [SplashScreen] : Initializing scheduler...
2025-02-13 07:59:49.8486 ERROR: [FwFile][DeserializeObject] : C:\Users\m_kis\AppData\Roaming\Log4OM2\scheduler_clean.xml
[EXCEPTION] There is an error in XML document (29, 39). System.InvalidOperationException: There is an error in XML document (29, 39). ---> System.InvalidOperationException: Instance validation error: 'UpdateMetarData' is not a valid value for ScheduleActivityEnum.


Log shows handfull additional lines and ends with:

2025-02-13 07:59:50.0878 INFO: [#=z6OpZNtamIh8nvJVjuWvYsxw=] : [LOTW] load from file completed

At that point, process hangs without loading the UI


The "fix" is as simple as reinstalling a Log4OM again, without uninstalling the previous one, or changing anything in the file/folder structure. After reinstalling, logger starts just fine, till the next time - immediately after the logger is stopped the next time (intentionally, reboot, unexpected OS shutdown, ...), Log4OM fails to start again with the same error

Thanks!
Miro
User avatar
G4POP
Log4OM Alpha Team
Posts: 11582
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Log4OM 2.34 fails to start again after it's stopped

Post by G4POP »

Seems you have a corrupted user file so - Do a completely clean install, user files also
73 Terry G4POP
Post Reply