Stencyl won't load my project despite updating Java, Flash, Stencyl, etc.

Danfisher

  • Posts: 36
Hi Guys,

Stencyl was crashing when I tried to bring in 4x tilesets so I updated my Java, Flash, OS and Stencyl in order to try to fix whatever was wrong.  Now I can't even open my projects.  Logs are attached...for now I'm at a standstill.  Any ideas are appreciated.

Dan

Jon

  • *
  • Posts: 17524
Posting up error for other devs to see. Looks like some missing files are causing this.

Code: [Select]
2015-04-25 17:19:31,962 ERROR [pool-1-thread-1] stencyl.sw.data.EditableTileset: Could not load tileset image: resources/79.png
java.io.FileNotFoundException: /Users/danfisher/stencylworks/games/Platformer/resources/79.png (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at stencyl.core.lib.io.IOHelper.getResourceAsStream(IOHelper.java:68)
at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:235)
at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:181)
at stencyl.sw.data.EditableTileset.loadImages(EditableTileset.java:149)
at stencyl.sw.data.EditableTileset.<init>(EditableTileset.java:95)
at stencyl.sw.io.read.TilesetReader.read(TilesetReader.java:85)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:112)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:103)
at stencyl.core.lib.ResourceList.init(ResourceList.java:80)
at stencyl.core.lib.ResourceList.<init>(ResourceList.java:56)
at stencyl.core.lib.ResourceList.createList(ResourceList.java:46)
at stencyl.core.lib.Game.load(Game.java:1771)
at stencyl.sw.app.tasks.OpenGameTask.startOpeningGame(OpenGameTask.java:145)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:107)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:35)
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)
2015-04-25 17:19:31,963 WARN  [pool-1-thread-1] stencyl.sw.data.EditableTileset: Missing 1.5x size tileset image. Write it to resources/79@1.5x.png
2015-04-25 17:19:31,963 ERROR [pool-1-thread-1] stencyl.sw.data.EditableTileset: Could not load tileset image: resources/79@1.5x.png
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(ImageIO.java:1301)
at stencyl.sw.util.gfx.ImageUtil.readRasterImage(ImageUtil.java:140)
at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:202)
at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:181)
at stencyl.sw.data.EditableTileset.loadImages(EditableTileset.java:154)
at stencyl.sw.data.EditableTileset.<init>(EditableTileset.java:95)
at stencyl.sw.io.read.TilesetReader.read(TilesetReader.java:85)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:112)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:103)
at stencyl.core.lib.ResourceList.init(ResourceList.java:80)
at stencyl.core.lib.ResourceList.<init>(ResourceList.java:56)
at stencyl.core.lib.ResourceList.createList(ResourceList.java:46)
at stencyl.core.lib.Game.load(Game.java:1771)
at stencyl.sw.app.tasks.OpenGameTask.startOpeningGame(OpenGameTask.java:145)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:107)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:35)
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)
2015-04-25 17:19:31,963 WARN  [pool-1-thread-1] stencyl.sw.data.EditableTileset: Missing 2x size tileset image. Write it to resources/79@2x.png
2015-04-25 17:19:31,964 ERROR [pool-1-thread-1] stencyl.sw.data.EditableTileset: Could not load tileset image: resources/79@2x.png
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(ImageIO.java:1301)
at stencyl.sw.util.gfx.ImageUtil.readRasterImage(ImageUtil.java:140)
at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:202)
at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:181)
at stencyl.sw.data.EditableTileset.loadImages(EditableTileset.java:154)
at stencyl.sw.data.EditableTileset.<init>(EditableTileset.java:95)
at stencyl.sw.io.read.TilesetReader.read(TilesetReader.java:85)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:112)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:103)
at stencyl.core.lib.ResourceList.init(ResourceList.java:80)
at stencyl.core.lib.ResourceList.<init>(ResourceList.java:56)
at stencyl.core.lib.ResourceList.createList(ResourceList.java:46)
at stencyl.core.lib.Game.load(Game.java:1771)
at stencyl.sw.app.tasks.OpenGameTask.startOpeningGame(OpenGameTask.java:145)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:107)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:35)
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)
2015-04-25 17:19:31,964 WARN  [pool-1-thread-1] stencyl.sw.data.EditableTileset: Missing 3x size tileset image. Write it to resources/79@3x.png
2015-04-25 17:19:31,965 ERROR [pool-1-thread-1] stencyl.sw.data.EditableTileset: Could not load tileset image: resources/79@3x.png
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(ImageIO.java:1301)
at stencyl.sw.util.gfx.ImageUtil.readRasterImage(ImageUtil.java:140)
at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:202)
at stencyl.sw.data.EditableTileset.loadImagesInternal(EditableTileset.java:181)
at stencyl.sw.data.EditableTileset.loadImages(EditableTileset.java:154)
at stencyl.sw.data.EditableTileset.<init>(EditableTileset.java:95)
at stencyl.sw.io.read.TilesetReader.read(TilesetReader.java:85)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:112)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:103)
at stencyl.core.lib.ResourceList.init(ResourceList.java:80)
at stencyl.core.lib.ResourceList.<init>(ResourceList.java:56)
at stencyl.core.lib.ResourceList.createList(ResourceList.java:46)
at stencyl.core.lib.Game.load(Game.java:1771)
at stencyl.sw.app.tasks.OpenGameTask.startOpeningGame(OpenGameTask.java:145)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:107)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:35)
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)
2015-04-25 17:19:32,002 ERROR [AWT-EventQueue-0] root: Unexpected problem on thread AWT-EventQueue-0: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
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.OpenGameTask.done(OpenGameTask.java:115)
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:749)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
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.NullPointerException
at stencyl.sw.data.EditableAnimation.<init>(EditableAnimation.java:151)
at stencyl.sw.data.EditableTile.<init>(EditableTile.java:78)
at stencyl.sw.io.read.TilesetReader$TilesetApply.apply(TilesetReader.java:118)
at stencyl.core.lib.io.AbstractReader.applyToChildren(AbstractReader.java:111)
at stencyl.sw.io.read.TilesetReader.load(TilesetReader.java:90)
at stencyl.sw.data.EditableTileset.<init>(EditableTileset.java:95)
at stencyl.sw.io.read.TilesetReader.read(TilesetReader.java:85)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:112)
at stencyl.core.lib.io.IOHelper.read(IOHelper.java:103)
at stencyl.core.lib.ResourceList.init(ResourceList.java:80)
at stencyl.core.lib.ResourceList.<init>(ResourceList.java:56)
at stencyl.core.lib.ResourceList.createList(ResourceList.java:46)
at stencyl.core.lib.Game.load(Game.java:1771)
at stencyl.sw.app.tasks.OpenGameTask.startOpeningGame(OpenGameTask.java:145)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:107)
at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:35)
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)

captaincomic

  • *
  • Posts: 6108
Would you share your project with me? I've seen this bug reported several times already. A game to reproduce it would help a lot.

Jon

  • *
  • Posts: 17524
Bump for Dan. We'd like to investigate this.