Unexpected error when I try to test any game.

krishna9336

  • Posts: 1
I've been unable to test the crash course kit on different PC, windows 8 machines due to some Java language issues. And then I tried to test the platformer game from here: http://www.stencyl.com/developers/samples/  and when I tried to test that, I still couldn't and so I've attached the error logs as a zip file with this post.

Below are the details that showed up on the error dialog box:

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.SaveGameTask.done(SaveGameTask.java:74)
   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.NullPointerException
   at stencyl.sw.io.write.resource.SnippetsWriter.getSourceLocation(SnippetsWriter.java:776)
   at stencyl.sw.io.write.resource.SnippetsWriter.getSourceLocation(SnippetsWriter.java:771)
   at stencyl.sw.io.write.resource.SnippetsWriter.copyOpenedSnippetsToDisk(SnippetsWriter.java:375)
   at stencyl.sw.io.write.resource.SnippetsWriter.write(SnippetsWriter.java:146)
   at stencyl.sw.io.write.MasterWriter.saveGame(MasterWriter.java:100)
   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)