import resources bug

koopke

  • Posts: 51
hi  guys
I'm using stencyl 3.3
when I'm trying to import a resources (containing two characters)  wich I saved earlier I get this error message:

"
Unexpected problem on thread AWT-EventQueue-0: (y + height) is outside of Raster
java.awt.image.RasterFormatException: (y + height) is outside of Raster
   at sun.awt.image.ByteInterleavedRaster.createWritableChild(ByteInterleavedRaster.java:1248)
   at java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1203)
   at stencyl.core.lib.io.ResourceImporter.importActor(ResourceImporter.java:269)
   at stencyl.core.lib.io.ResourceImporter.importResource(ResourceImporter.java:599)
   at stencyl.core.lib.io.ResourceImporter.importPack(ResourceImporter.java:121)
   at stencyl.sw.app.App.dropInResource(App.java:2594)
   at stencyl.sw.app.App.dropInResource(App.java:2576)
   at stencyl.sw.app.App.importResource(App.java:2570)
   at stencyl.sw.app.App.actionPerformed(App.java:469)
   at stencyl.sw.actions.ActionManager.actionPerformed(ActionManager.java:65)
   at stencyl.sw.actions.SAction.actionPerformed(SAction.java:120)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:943)
   at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:585)
   at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:482)
   at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:428)
   at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:321)
   at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:859)
   at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2448)
   at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2340)
   at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2298)
   at java.awt.Component.dispatchEventImpl(Component.java:4768)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:740)
   at java.awt.EventQueue.access$300(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:699)
   at java.awt.EventQueue$3.run(EventQueue.java:697)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:713)
   at java.awt.EventQueue$4.run(EventQueue.java:711)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:710)
   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)"
"


any Ideas?

koopke

  • Posts: 51
Linux version by the way

koopke

  • Posts: 51
still cant figure this out :\

captaincomic

  • *
  • Posts: 6108
Could you attach the resource you try to import, and generate logs?

koopke

  • Posts: 51
sure ,
here's the link :
https://drive.google.com/file/d/0B6wMgDsbh91wZlRGR3ZxNmVnVlE/view?usp=sharing

by the way im using stencyl 3.2  (my bad)

captaincomic

  • *
  • Posts: 6108
Thanks, I get the same error when I import the resource (in 3.3).

Is this supposed to be a resource pack? Because it tries to import it as an actor.

koopke

  • Posts: 51
wait a minute...  I can't put an actor inside a resource pack?
thats wierd cuz stencyl asked me if i want to add it into the resource pack.

If the answer is negative so is there any simple option to save actor (animation , colition areas etc') and import it to a different game?