- تم التحرير
NullPointerException when launching older version on Mac
I'm new here, cheers!
I get an exception when launching version 3.7.94 from 4.1 launcher.
Spine Launcher 4.1.01
Esoteric Software LLC (C) 2013-2021 | http://esotericsoftware.com
Mac OS X x86_64 10.15.7
Intel Inc., Intel(R) UHD Graphics 630, 2.1 INTEL-14.7.8
Launching: Spine 3.7.94 Essential
Spine Launcher 4.1.01-legacy
java.lang.reflect.InvocationTargetException
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.main(_:664)
Caused by: java.lang.NullPointerException
at com.esotericsoftware.spine.editor.launcher.Launcher._(_:830)
... 5 more
I need to reexport some of the animations saved in 3.7.94 but the launcher dies at start. Same effect when I try to run it from command line.
Can anyone help with that? Thanks in advance.
Could you please post the spine.log file after Spine crashes when you're trying to launch version 3.7.94?
Windows: <user home folder>\Spine\spine.log
Mac: <user home folder>/Library/Application Support/Spine/spine.log
Linux: <user home folder>/.spine/spine.log
Yeah, the log is in my previous message, the one in code area
And found out the same error is when running 3.8.99
spine.log:
Spine Launcher 4.1.01
Esoteric Software LLC (C) 2013-2021 | http://esotericsoftware.com
Mac OS X x86_64 10.15.7
Intel Inc., Intel(R) UHD Graphics 630, 2.1 INTEL-14.7.8
Downloading: Spine 3.8.99 Essential
Launching: Spine 3.8.99 Essential
Spine Launcher 4.1.01-legacy
java.lang.reflect.InvocationTargetException
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.main(_:664)
Caused by: java.lang.NullPointerException
at com.esotericsoftware.spine.editor.launcher.Launcher._(_:830)
... 5 more
Hm, I was able to run this just fine on macOS Big Sur using the same launcher and editor version.
Is this the full spine.log you posted? The stack traces don't quite make sense to me, so it's hard to figure out what is going on.
Could you maybe try deleting /Users/<your-user-name>/Library/Application Support/Spine and reactivate and run Spine again?
Yeah this is the whole log, not much, I know.
I have tried deleting Spine folder from Library, also tried wiping Spine and reinstalling it but still getting the same error.
I'm running Catalina, tried that on another Mac with Monterey and it launched without problems.
That's extremely weird.Couldmyou elaborate on the hardware setup of that machine? Any external monitors? Assistive software? Screencap software? What are the differences to your other machine except the OS version?
External setup is similar, both machines use a dell dock station with two external monitors. There are DisplayLinkManagers 1.4.0 installed on both machines for the dock station.
The macs have different hardware, here is the log from the other mac that runs fine:
Spine Launcher 4.1.01
Esoteric Software LLC (C) 2013-2021 | http://esotericsoftware.com
Mac OS X x86_64 10.16
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
ATI Technologies Inc., AMD Radeon Pro 5300M OpenGL Engine, 2.1 ATI-4.7.29
Launching: Spine 3.7.94 Essential
Spine Launcher 4.1.01-legacy
Warning: the fonts "Times" and "Lucida Bright" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
Starting: Spine 3.7.94
Spine 3.7.94 Essential
Licensed to: *****, *****
ATI Technologies Inc.
AMD Radeon Pro 5300M OpenGL Engine
2.1 ATI-4.7.29
Started.
Does it work without the docking station? Since I can't reproduce it, I can only stab in the dark
OMG it worked and it's not the first time that the docking station is causing issues, thanks!
Well, it's still a suboptimal solution, but I'm glad we could figure out the issue. It's likely a graphics driver bug for the Intel HD GPU in the machine that crashes. An update to a later macOS version may possibly fix it, but I can't guarantee that. Apple has botched the 10.15.7 October Catalina update hard in terms of Intel GPU drivers and all we can do is wait for them to fix it.