Bug Issue: stencyl 4.0 Tileset editor IMG reload problem and reditor

Pages: 1

kade 101

  • Junior Stencyler
February 12, 2019, 03:23:29 am
ok editing the img then saveing then rediting and saveing then bugs out when you go to it will show the work you have done on stencyl but when you try to edit it it will load the img befor you saved it(oringnal img) am trying a reinstall of 4.0 to see if that was the problem its a good thing a have a back up of my game XD

if reinstalling works I will delete this post

it happened agin some thing to do with java now once it happend and I try to re acsses the tileset file in the program it just bugs out and and loads forever under info I found
when I go to save from pencl  for the tiles
Code: [Select]
java.lang.ArrayIndexOutOfBoundsException: 35
at stencyl.sw.data.EditableTileset.reloadImages(EditableTileset.java:351)
at stencyl.sw.app.filewatcher.ImageSyncTask.syncFile(ImageSyncTask.java:140)
at stencyl.sw.app.filewatcher.FileWatcherTask$1.onChange(FileWatcherTask.java:85)
at stencyl.sw.app.filewatcher.FileWatcher.run(FileWatcher.java:25)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
then when I close the tile set and try too reopen the set this happens:
Code: [Select]
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 35
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(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 35
at stencyl.sw.data.EditableTileset.loadImages(EditableTileset.java:198)
at stencyl.sw.data.EditableTileset.loadScaledImages(EditableTileset.java:222)
at stencyl.sw.editors.tileset.TilesetTab.<init>(TilesetTab.java:61)
at stencyl.sw.app.doc.Workspace.fetchEditorForResource(Workspace.java:801)
at stencyl.sw.app.doc.Workspace.finishOpenResource(Workspace.java:678)
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(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

any ida's
I love all the new blocks they open up so many probems I was having with my game when it came to screen sizes but now on 4.0 there was no problem on that.
 but notbeing able to save and  edit stuff so ya am staying on the 3.4 until this is fixed

 :o F cant redownload 3.4 XD well looks like am working on img's  for the extras folder till this is fixed :(
« Last Edit: February 14, 2019, 08:19:05 pm by Justin »


  • Master Stencyler
  • *
February 13, 2019, 12:37:23 pm
Does this happen with another image editor or just Pencyl?
  • Status changed from New to Need Info


  • Master Stencyler
  • *
February 14, 2019, 10:09:28 pm
Based on the error, I've issues a potential fix in b10282 (will be available in an upcoming public release). If that didn't fix this, the same game and/or more specific repro steps would be appreciated.
  • Issue Assigned from (none) to Justin
  • Status changed from Need Info to Resolved

kade 101

  • Junior Stencyler
February 17, 2019, 05:58:49 pm
Ok np once the release is up I will try if it happens again I will explain how it happened in more detail

kade 101

  • Junior Stencyler
February 17, 2019, 06:01:12 pm
I will attach a data log later don’t have time at the moment

Pages: 1


  • Reported
    February 12, 2019, 03:23:29 am
  • Updated
    February 17, 2019, 06:01:12 pm

  • View Status
  • Type
  • Status
  • Priority
  • Version
  • Fixed in
  • Assigned to
  • Category
    Tileset Editor