Bug Issue: Import crashed


Pages: 1

quidbert

  • Junior Stencyler
April 15, 2018, 12:43:23 am
I exported a game from another computer from stencyl and imported it into my home computer in stency. When I tried to test the game I got an "Unexpected problem" and it tells me to report it on the forum.

Log is as follows:

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.read1(BufferedInputStream.java:286)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
   at java.io.DataInputStream.readFully(DataInputStream.java:195)
   at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1111)
   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)

I downloaded flash again to make sure it wasn't that. The computers are actually the same type of computer in model and everything. Not sure what to do. Any help is appreciated.

-tony


quidbert

  • Junior Stencyler
April 15, 2018, 12:45:16 am
Actually won't let me save the game either.


Pages: 1

Details

  • Reported
    April 15, 2018, 12:43:23 am
  • Updated
    April 15, 2018, 12:45:16 am

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    3.4.0 beta4
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Compiling/Testing Games

Tags