Unable to Select Actor Type in Any Behavior in Specific Game

tristonhopkins

  • Posts: 69
When I try to set an actor type, the pop-up menu to choose an actor type doesn't show up, and this java error shows up in my logs in reference to it.

Quote
java.lang.IllegalArgumentException: newSize must be lower than the image height
   at stencyl.sw.util.gfx.GraphicsUtilities.createThumbnail(GraphicsUtilities.java:420)
   at stencyl.sw.app.center.AbstractPage.init(AbstractPage.java:362)
   at stencyl.sw.app.center.AbstractPage.<init>(AbstractPage.java:201)
   at stencyl.sw.app.center.AbstractPage.<init>(AbstractPage.java:190)
   at stencyl.sw.app.center.ActorPage.<init>(ActorPage.java:69)
   at stencyl.sw.editors.snippet.vars.ActorChooser.<init>(ActorChooser.java:78)
   at stencyl.sw.editors.snippet.vars.EditVariablePane.chooseType(EditVariablePane.java:696)
   at stencyl.sw.editors.snippet.vars.EditVariablePane.access$800(EditVariablePane.java:66)
   at stencyl.sw.editors.snippet.vars.EditVariablePane$8.actionPerformed(EditVariablePane.java:651)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(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)

It does not matter what behavior this occurs in, and only happens in one Stencyl game project.

tristonhopkins

  • Posts: 69
I found a work-around, but I don't like it.  If any actors were inside a folder with a custom icon assigned to it, the error was occurring.  As soon as I moved the actors outside and deleted the folders with custom icons, it worked just fine.

It also appears that when selecting actor type, the folder view on the left hand side of the menu is useless.  All actors are lumped into one long list, and selecting a specific folder does nothing.

« Last Edit: May 23, 2012, 05:21:35 pm by tristonhopkins »