• Bugs
  • When I select animation, spine crushed.

  • تم التحرير
Related Discussions
...
  1. Open my project

  2. Go to Animation mode

  3. Choose one animation

  4. Crashes (some animations is fine, other animations is crushed)

    <provide log file>
    Spine Launcher 2.0.20-full
    Mac OS X x86_64 10.10.1
    Java 1.7.0_51 Oracle Corporation
    Java HotSpot(TM) 64-Bit Server VM
    Up to date: 2.1.07
    Licensed to: *****, *****
    Spine 2.1.07 Professional, JGLFW
    Intel Inc.
    Intel Iris OpenGL Engine
    2.1 INTEL-10.0.86
    Started.
    Automatic backup complete.
    Automatic backup complete.
    Automatic backup complete.
    Automatic backup complete.
    Automatic backup complete.
    Automatic backup complete.
    An unexpected error has occurred:
    java.lang.ArrayIndexOutOfBoundsException: -1
    at gs.a(SourceFile:128)
    at kh.a(SourceFile:759)
    at jY.a(SourceFile:78)
    at xz.a(SourceFile:300)
    at com.esotericsoftware.spine.editor.Editor.c(SourceFile:622)
    at rq.a(SourceFile:975)
    at Bw.a(SourceFile:120)
    at fm.a(SourceFile:28)
    at dB.a(SourceFile:181)
    at dB.a(SourceFile:146)
    at fH.k(SourceFile:190)
    at fH.a(SourceFile:52)
    at fk.a(SourceFile:40)
    at com.badlogic.gdx.scenes.scene2d.ui.List.i(SourceFile:84)
    at eo.a(SourceFile:68)
    at dH.a(SourceFile:55)
    at dB.a(SourceFile:181)
    at dB.a(SourceFile:146)
    at dJ.a(SourceFile:276)
    at o.a(SourceFile:90)
    at aq.a(SourceFile:87)
    at q.a(SourceFile:77)
    at ap.e(SourceFile:138)
    at ac.e(SourceFile:212)
    at lA.e(SourceFile:89)
    at ah.run(SourceFile:188)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    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)

If possible please send the project that crashes when opening to contact@esotericsoftware.com with a reference to this thread, then we can run it with some debugging on and figure out what causes the crash.

Now I find the reason.

  1. That spine file has many animation.
  2. I move slots and child keys that 'A' key has to 'B' key.
  3. Translate 'A' key
  4. Move the slots and child keys to 'A' key back.
  5. Animation Mode
  6. Choose some Animation
  7. Crushed

It is the thing.

Still unable to reproduce it, probably not understanding your reproduction steps correctly 🙁
Do you have a sample project you can share?