Actor Not Editable, Animation-wise!

Mineat

  • Posts: 379
When I stopped to edit an actor's animation in build 8449, it threw this:
Code: [Select]
Unexpected problem on thread AWT-EventQueue-0: null
java.lang.NullPointerException
at stencyl.sw.data.EditableAnimation.getFrame(EditableAnimation.java:536)
at stencyl.sw.editors.actor.appearance.AnimationPane.editFrame(AnimationPane.java:911)
at stencyl.sw.editors.actor.appearance.AnimationPane.mousePressed(AnimationPane.java:739)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Justin

  • *
  • Posts: 4634
Going from the stack trace, this happens when you open the dialog to edit the frame duration, right? Can you reproduce this consistently? If so, could you share your game?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Mineat

  • Posts: 379
Absolutely and fully true!  Here is the zip.

« Last Edit: July 19, 2015, 04:13:21 pm by Mineat »

Justin

  • *
  • Posts: 4634
Which actor type/animation has the problem?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Mineat

  • Posts: 379
The custom button actor.

Justin

  • *
  • Posts: 4634
I'm not running into this. Could you make the error occur again and then upload your logs?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Mineat

  • Posts: 379
I found out the Pencyl I installed did this. Deleted the tools and logs folders of stencylworks and it worked fine after changing the preferences to not have it. Thank you, Justin!

captaincomic

  • *
  • Posts: 6108
This should be fixed now (b8505).