Help! I shut down while saving now Stencyl won't run my game!

Noroup

  • *
  • Posts: 134
I can't even export stuff

Noroup

  • *
  • Posts: 134
I don't get it. Nothing is working. How can this be?!

Noroup

  • *
  • Posts: 134
I fixed some of the errors this is the only one that remains please help!

Whenever I test my game it just saves forever it's neverending

2016-11-13 15:54:17,160 ERROR [AWT-EventQueue-0] root: Unexpected problem on thread AWT-EventQueue-0: java.lang.IndexOutOfBoundsException
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:74)
   at stencyl.sw.app.tasks.SaveGameTask.done(SaveGameTask.java:56)
   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.IndexOutOfBoundsException
   at java.io.RandomAccessFile.readBytes(Native Method)
   at java.io.RandomAccessFile.read(RandomAccessFile.java:377)
   at javax.imageio.stream.FileImageInputStream.read(FileImageInputStream.java:117)
   at com.sun.imageio.plugins.common.SubImageInputStream.read(SubImageInputStream.java:61)
   at com.sun.imageio.plugins.common.InputStreamAdapter.read(InputStreamAdapter.java:47)
   at java.io.SequenceInputStream.read(SequenceInputStream.java:207)
   at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:238)
   at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
   at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
   at java.io.FilterInputStream.read(FilterInputStream.java:83)
   at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1104)
   at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1215)
   at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1330)
   at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1606)
   at javax.imageio.ImageIO.read(ImageIO.java:1448)
   at javax.imageio.ImageIO.read(ImageIO.java:1308)
   at stencyl.sw.io.write.GameFileWriter.write(GameFileWriter.java:125)
   at stencyl.sw.io.write.MasterWriter.saveGame(MasterWriter.java:81)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:35)
   at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:13)
   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)

Noroup

  • *
  • Posts: 134
Okay, it's a stencyl issue. I am not even able to run blank scenes in my game

rob1221

  • *
  • Posts: 9424
Stencyl doesn't handle sudden power loss very well and the games are often ruined beyond repair.

Noroup

  • *
  • Posts: 134
Stencyl doesn't handle sudden power loss very well and the games are often ruined beyond repair.
Goddamnit man!

Noroup

  • *
  • Posts: 134

Noroup

  • *
  • Posts: 134
I don't mind doing the scenes again. Is there a way to manually import all assets and behaviors from one game to another? Like dragging/copying files?

rob1221

  • *
  • Posts: 9424
You might be able to copy some files from your game folder but it's something you would have to experiment with.


Noroup

  • *
  • Posts: 134
Justin fixed it for me! All you had to do was change the game icon! Shout out and MAJOR thanks to Justin!