Unexpected problem on thread AWT-EventQueue-0: java.lang.IndexOutOfBoundsException: Index: 16, Size: 16
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 16, Size: 16
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:72)
at stencyl.sw.app.tasks.SaveGameTask.done(SaveGameTask.java:66)
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.IndexOutOfBoundsException: Index: 16, Size: 16
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at stencyl.sw.data.EditableAnimation.getFrame(EditableAnimation.java:657)
at stencyl.sw.io.write.resource.SpriteWriter.getSpriteSheet(SpriteWriter.java:392)
at stencyl.sw.io.write.resource.SpriteWriter.writeSpriteSheet(SpriteWriter.java:329)
at stencyl.sw.io.write.resource.SpriteWriter.write(SpriteWriter.java:243)
at stencyl.core.lib.io.IOHelper.write(IOHelper.java:237)
at stencyl.sw.io.write.ResourcePackWriter.writeResourcesFile(ResourcePackWriter.java:109)
at stencyl.sw.io.write.ResourcePackWriter.write(ResourcePackWriter.java:43)
at stencyl.sw.io.write.MasterWriter.saveGame(MasterWriter.java:92)
at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:48)
at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:16)
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)