[2.0.4] IDE: on close: ExceptionInInitializerError --- just ignore it --- fixed in 2.0.5

Asked by Konrad on 2020-03-26

After closing Sikuli IDE receives following errors:

Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
 at java.util.prefs.FileSystemPreferencesFactory.userRoot(FileSystemPreferencesFactory.java:41)
 at java.util.prefs.Preferences.userRoot(Preferences.java:454)
 at java.util.prefs.Preferences.userNodeForPackage(Preferences.java:368)
 at org.sikuli.basics.PreferencesUser.<init>(PreferencesUser.java:53)
 at org.sikuli.basics.PreferencesUser.get(PreferencesUser.java:57)
 at org.sikuli.script.support.RunTime.cleanUp(RunTime.java:1350)
 at org.sikuli.script.support.RunTime.runShutdownHook(RunTime.java:1364)
 at org.sikuli.script.support.RunTime.access$000(RunTime.java:42)
 at org.sikuli.script.support.RunTime$3.run(RunTime.java:1056)
Caused by: java.lang.IllegalStateException: Shutdown in progress
 at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
 at java.lang.Runtime.addShutdownHook(Runtime.java:212)
 at java.util.prefs.FileSystemPreferences$4.run(FileSystemPreferences.java:451)
 at java.util.prefs.FileSystemPreferences$4.run(FileSystemPreferences.java:449)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.util.prefs.FileSystemPreferences.<clinit>(FileSystemPreferences.java:449)

Any idea how can I fix this problem ?

I using Ubuntu 18.04, Java 8 and Sikulix 2.0.4

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Konrad
Solved:
2020-03-26
Last query:
2020-03-26
Last reply:
2020-03-26
RaiMan (raimund-hocke) said : #1

Just ignore it (does not do any harm) - will be fixed in 2.0.5

Konrad (konnri) said : #2

I installed version 2.0.3 and problem no longer occurs

RaiMan (raimund-hocke) said : #3

I know that ;-)

... but as mentioned: stay with 2.0.4 and ignore the "problem"