IMPORTING TILESETS DOESENT WORK. :(

nintendonald8

  • Posts: 31
after i try to import tilesets, this error appears.
"Ouch, this should not have happened! Please generate your logs and post them on the forum."

when i click on "details", this pops up.

Unexpected problem on thread AWT-EventQueue-0: java.lang.IllegalArgumentException: Width (-48) and height (0) cannot be <= 0
java.lang.RuntimeException: java.lang.IllegalArgumentException: Width (-48) and height (0) cannot be <= 0
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:74)
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:54)
   at stencyl.sw.app.tasks.OpenResourceTask.done(OpenResourceTask.java:76)
   at javax.swing.SwingWorker$5.run(Unknown Source)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
   at sun.swing.AccumulativeRunnable.run(Unknown Source)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
   at javax.swing.Timer.fireActionPerformed(Unknown Source)
   at javax.swing.Timer$DoPostEvent.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(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.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)
Caused by: java.lang.IllegalArgumentException: Width (-48) and height (0) cannot be <= 0
   at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
   at sun.awt.Win32GraphicsConfig.createCompatibleImage(Unknown Source)
   at stencyl.thirdparty.misc.gfx.GraphicsUtilities.createCompatibleImage(GraphicsUtilities.java:126)
   at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:243)
   at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:180)
   at stencyl.sw.data.EditableTileset.loadScaledImages(EditableTileset.java:168)
   at stencyl.sw.editors.tileset.TilesetTab.<init>(TilesetTab.java:61)
   at stencyl.sw.app.doc.Workspace.fetchEditorForResource(Workspace.java:737)
   at stencyl.sw.app.doc.Workspace.finishOpenResource(Workspace.java:613)
   at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:67)
   at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:20)
   at javax.swing.SwingWorker$1.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at javax.swing.SwingWorker.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

captaincomic

  • *
  • Posts: 6108
Which build are you using?

nintendonald8

  • Posts: 31
whats a build? I've heard of minecraft building and lego building, but whats a build???

yoplalala

  • *
  • Posts: 1632
When you open Stencyl , on the top there is written  Stencyl - game name - build XXXX

nintendonald8

  • Posts: 31
gotcha. the build is 8495...

Vereor Nox

  • Posts: 9
Download the latest free build 8502. You should be able to use tilesets again.

nintendonald8

  • Posts: 31
you mean the latest version of stencyl? was there a bug or someting???

ajimundi

  • *
  • Posts: 230
you mean the latest version of stencyl? was there a bug or someting???

I guess what happen to you was what was fixed in build 8500: http://www.stencyl.com/features/history/

Quote
Build 8500 - August 11, 2015

  •     Fix: Can't create new tileset.
::: It's never too late, unless you're dead. Maybe not even then. :::

nintendonald8

  • Posts: 31
thanks... but how do i update my current version of stencyl?

letmethink

  • *
  • Posts: 2545
Download the new one and install it in the same place you installed the previous one.
~Letmethink

nintendonald8

  • Posts: 31
one more thing- do i have to keep the old one? im sorta of a space saver on my pc...

ajimundi

  • *
  • Posts: 230
just install the new over the old one.
::: It's never too late, unless you're dead. Maybe not even then. :::

nintendonald8

  • Posts: 31
i'll try. thanx!