- Editado
Crash when copying animation
Hey there! Found another bug - the editor crashes when I click the "Copy Animation" button. It doesn't happen when I copy an empty animation, though - just the one animation I already created. It's hard to nail down what's special about it that might be causing the crash - all I can tell is that it is a reasonably complex animation that uses two pairs of nested IK points (100% mix influence all the way, and their position is animated); scale, translation and rotation of bones, and a bunch of meshes which points are influenced by a couple of bones each. It doesn't use FFD (yet!).
Maybe the log can provide some further insight. If you guys think it could make it easier for you, let me know and I can share the animation file for you to check out and replicate the error!
Spine Launcher 1.9.00-full
Windows 8 x86 6.2
Java 1.7.0-u6-unofficial Oracle Corporation
OpenJDK Server VM
Up to date: 1.9.15
Licensed to:
Spine 1.9.15 Professional, LWJGL
NVIDIA Corporation
GeForce GT 650M/PCIe/SSE2
4.4.0
Started.
An unexpected error has occurred:
java.lang.NullPointerException
at yy.a(SourceFile:305)
at wd.b(SourceFile:406)
at wd.d(SourceFile:298)
at vv.N(SourceFile:678)
at qo.e(SourceFile:1115)
at mJ.N(SourceFile:1595)
at ny.a(SourceFile:2351)
at fx.a(SourceFile:28)
at dR.a(SourceFile:174)
at dR.a(SourceFile:139)
at com.badlogic.gdx.scenes.scene2d.ui.Button.d(SourceFile:112)
at eu.b(SourceFile:86)
at fz.b(SourceFile:89)
at dX.a(SourceFile:57)
at dZ.b(SourceFile:342)
at o.b(SourceFile:96)
at av.e(SourceFile:305)
at ah.run(SourceFile:224)
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)
Thanks! I'll see if I can reproduce the bug and I've marked this thread for Nate so he can look into it as soon as he is back.
Any chance you can share the project at contact@esotericsoftware.com in case I'm not able to reproduce it?
Done, just sent it
Hey there, if anyone stumbles on this same problem of having Spine crashing when trying to copy an animation, there is a really easy workaround:
Just create a new animation, then go back to the animation that you want to copy, select all keyframes and copy, then go back to the new animation and paste the keyframes there. Yeah I know it sounds kinda obvious, but if I could save 5 minutes from someone, I'm already happy!
That seems to do the trick while the Spine guys take a look at that bug!
Fixed in 1.9.16, thanks!