I've still have a problem while running multiple instances of spine exporter simultanously.
Here is some testing stand that can demonstrate a problem:
It's not 100% perfect, but if I'm running it for about 100-200 of exports with 10-16 processes at once at 8 core , I'm getting one of the following errors:
java.util.prefs.BackingStoreException: flush(): Backing store not available.
at java.prefs/java.util.prefs.WindowsPreferences.flush(Unknown Source)
at java.prefs/java.util.prefs.WindowsPreferences.sync(Unknown Source)
at OI.D(SourceFile:121)
at OI.D(SourceFile:85)
at jp.D(SourceFile:35)
at com.esotericsoftware.spine.editor.Editor.D(SourceFile:1815)
at com.esotericsoftware.spine.editor.Editor.main(SourceFile:1776)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.esotericsoftware.spine.editor.launcher.Launcher._(_:523)
at com.esotericsoftware.spine.editor.launcher.Launcher.L(_:383)
at com.esotericsoftware.spine.editor.launcher.Launcher.<init>(_:173)
at s.Oml.run(_:880)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
[error] Unable to lock file for reading: C:\Users\<user>\Spine\settings\launcher-1.json
at s.jHj._(_:50)
at s.jHj._(_:26)
at s.pRG._(_:155)
at s.pRG._(_:80)
at com.esotericsoftware.spine.launcher.Launcher._(_:111)
at com.esotericsoftware.spine.launcher.Launcher.S(_:64)
at com.esotericsoftware.spine.launcher.Launcher.<init>(_:49)
at s.umY._(_:197)
<events>
or just
Enter activation code:
After the last one I need to enter activation code again in graphical interface either.
Presented code is not part of my export pipeline, but running Spine export from python through subproces is common part.
This bug appeared in 4.0 version of launcher, and prevents me from update.It's still here in 4.1.10 launcher.