scijava-common
scijava-common copied to clipboard
BackingStoreException caused by PrefService
Sometimes (not clear to me when), users get this exception (the likelihood of this happening seems to increase when trying to start multiple Fiji in parallel on the same computer):
> Apr 27, 2022 9:27:59 AM java.util.prefs.FileSystemPreferences syncWorld
> WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
More information can be found here: https://forum.image.sc/t/fiji-console-message-repeating-every-few-seconds/66306
I read a bit about this issue and have the feeling that generally people advice not to use the Java Preferences at all but rather use an own implementation.
Here is some link with suggestions how one may fix it (I did not try this yet):
- https://stackoverflow.com/questions/2027566/java-util-prefs-throwing-backingstoreexception-why
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/fiji-console-message-repeating-every-few-seconds/66306/11