• Bugs
  • Weird bug on startup

Related Discussions
...

Have no idea how I get it (latest pro version), failed on startup

An unexpected error has occurred:
java.lang.NullPointerException
at AG.<init>(SourceFile:70)
at com.esotericsoftware.spine.editor.Editor.a(SourceFile:218)
at ab.d(SourceFile:188)
at ac.addNotify(SourceFile:86)
at java.awt.Container.addImpl(Container.java:1114)
at java.awt.Container.add(Container.java:410)
at ak.c(SourceFile:121)
at an.run(SourceFile:99)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:711)
at java.awt.EventQueue.access$000(EventQueue.java:104)
at java.awt.EventQueue$3.run(EventQueue.java:672)
at java.awt.EventQueue$3.run(EventQueue.java:670)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:681)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

WIndows version must run with admin privileges

Spine does not require admin privileges on Windows to run. It only needs admin privileges to install.

abram, what OS are you using? What version of Spine do you see this error with?

Win7 x64, and latest spine 1.8.27 as far as I remember (can't check it right now). I'm not sure, probably something wrong with my PC, as I did some tricks with it ... anyway, if you can check it on your side - it will be great.

1.8.27 is working on my Win7 64bit. 1.8.26 was a failed build and had the error you posted. I hope if you try again it will update to 1.8.27 and run with no problems.

When i run Spine withouth Admin, Spine load and crush (. With Admin - all ok!

Use latest 1.8.27, crash under admin (only on one PC)

4 jours plus tard

mfedorov, can you post the spine.log after the crash? I'm guessing your Windows user cannot write to its own home directory, which is not normal.

abram, I wish I had more insight into the crash. 🙁 Hopefully it is not an issue in 1.8.28.

Spine Launcher 1.8.05-full
java.lang.UnsatisfiedLinkError: C:\Users\smoke\AppData\Local\Temp\libgdxsmoke\917c4c7f\spine-launcher.dll: Отказано в доступе
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1059)
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:601)
at a.k$B.?(Unknown Source)
at a.D.a(SourceFile:6)
at a.D.b(SourceFile:46)
at a.D.a(SourceFile:18)
at com.esotericsoftware.spine.editor.launcher.Launcher.<init>(SourceFile:140)
at a.k.run(SourceFile:4)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:711)
at java.awt.EventQueue.access$000(EventQueue.java:104)
at java.awt.EventQueue$3.run(EventQueue.java:672)
at java.awt.EventQueue$3.run(EventQueue.java:670)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:681)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
........................

Windows 7 x64
without admin


Отказано в доступе = Access Denied

Thanks. So the question is why is access denied to C:\Users\smoke\AppData\Local\Temp\libgdxsmoke\917c4c7f\spine-launcher.dll? Can you delete it manually? My guess is either some process is using the file, or more likely that your Windows user "smoke" is unable to write to that location. Since the location is in the user directory, this is not normal. You can try changing the permissions of the user directory and all files recursively.

un mois plus tard

Bumping to say I'm having this exact problem on 2 different Win7 PCs that I've tried running spine essential on. Happens if I run as admin or normal user... I noticed that my C:\Users\bburbank\AppData\Local\Temp\libgdxbburbank folder was read-only, but even after giving all users full rights to the folder (and DLL inside) I get the null pointer 🙁

Spine Launcher 1.8.18-full
Windows 7 x86 6.1
Java 1.7.0-u6-unofficial Oracle Corporation
OpenJDK Server VM
An unexpected error has occurred:
java.lang.NullPointerException
at a.E.a(SourceFile:84)
at com.esotericsoftware.spine.editor.launcher.Launcher.a(SourceFile:345)
at com.esotericsoftware.spine.editor.launcher.Launcher.b(SourceFile:432)
at com.esotericsoftware.spine.editor.launcher.Launcher.d(SourceFile:530)
at com.esotericsoftware.spine.editor.launcher.Launcher.<init>(SourceFile:265)
at a.k.run(SourceFile:1107)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:711)
at java.awt.EventQueue.access$000(EventQueue.java:104)
at java.awt.EventQueue$3.run(EventQueue.java:672)
at java.awt.EventQueue$3.run(EventQueue.java:670)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:681)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

Your entire user folder and all subfolders C:\Users\bburbank should be writable by your user.

Can you try downloading and reinstalling Spine? The launcher has changed very recently. If you can post the error with the latest launcher, that would help.

HECK YEAH works great now, thanks.