Hi!
I get the same error, but it happen when trying to generate the .skel from a .json file from command line.
Spine Launcher 3.5.21
Mac OS X x86_64 10.11.6
Java 1.7.0_51 Esoteric Software
64-bit Server VM
Starting: Spine 3.6.38
Spine 3.6.38 Professional
Binary export: fw_magic
Error starting Spine.
An unexpected error has occurred:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at java.lang.invoke.MethodHandleImpl$BindCaller$T/1975271113.invoke_V(MethodHandleImpl.java:934)
at tzax.w.run(SourceFile:1540)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
at com.esotericsoftware.spine.editor.Editor.main(SourceFile:1376)
... 20 more
Command line looks like this:
/Applications/Spine/Spine.app/Contents/MacOS/Spine -i /Users/blabla/Desktop/animation.json -o /Users/blabla/Desktop/output -e /tmp/export_bin_config.json
Content of export_bin_config.json:
{
"class": "com.esotericsoftware.spine.editor.Prefs$ExportBinary",
"project": "None",
"output": "/tmp/random_folder_416379828",
"extension": ".skel",
"nonessential": "False",
"createAtlas": false,
"texturePacker": null
}
With most of .json files generated with the same spine editor works perfect.
Would you add some lights on this?
Thanks in advance!