Unexpectted Problem what should I do?

wushung

  • Posts: 22
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: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.NullPointerException
   at stencyl.core.lib.Game.getAllAtlasResources(Game.java:1947)
   at stencyl.core.lib.Game.getResourcesForAtlas(Game.java:2763)
   at stencyl.sw.io.write.GameFileWriter.write(GameFileWriter.java:808)
   at stencyl.sw.io.write.MasterWriter.saveGame(MasterWriter.java:80)
   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)

sdieters

  • Posts: 2068
Does your work?
Yes) ignore this error. Its a java thing
No) tell us more. We cant look trough your eyes, nor do we know what your game does or doesnt
My new profile is TheIndieStation.
When you see a recent post with this name, i'm probably using my phone. So dont mind any typo's =p

captaincomic

  • *
  • Posts: 6108
It's the same exception as reported here:
http://community.stencyl.com/index.php/topic,37422.0.html
(although not necessarily the same problem.)

Please post full logs (Debug -> Logs -> Generate Logs). Or send me your project in private and I take a look.