Open adderthorn opened 3 years ago
I've tested this on the latest Windows 10 20H2 patch (2004) and I can't reproduce this problem. If this exception is making the application unusable, the quickest workaround that you can try (until this problem is fixed) is to manually change the configuration.yaml
file in C://users/<user>/AppData/Roaming/RoyalSloth/SlothTracker
and set the putAppIntoTray
field to false
. Unfortunately the application will not be using tray after this change.
Example configuration.yaml:
---
General:
stopTrackingTimeOnExit: true
putAppIntoTray: false
maxTimeOverlapForAutomaticResolution: 10
copyTaskDescriptionOnTaskDoubleClick: false
mainWindowTimeFormat: "hh:mm"
defaultDurationFormat: "hh:mm (min)"
workingDayStartsAt: "08:00"
I will try this out. Could you test to see if perhaps it is related to that version of Coretto build of OpenJDK? I am required to use this version for other software I run.
I've just tried running it with the same Correto version (11.0.9.12.1) and it runs the application with the tray just fine. This problem looks like a bug in the library which we are using for displaying the tray (and apparently it only shows up on a specific Windows version)
In the meantime, changing the YAML config seems to prevent the crash. However, I'd like to see this work in the future. Perhaps the library will have a updated version sometime that may resolve the issue?
Using Windows 10 20H2 (19042.928) and OpenJDK 11
I get a crash on SlothTracker startup with the following: