Bug Issue: Won't Create Game


Pages: 1

thoyal

  • Junior Stencyler
December 21, 2016, 11:02:09 am
Hi! I'm new to Stencyl. I just barely downloaded it. However, when I click "create" to make a game, a notification pops up saying there is an error. Then it won't let me create a game. What should I do? It wants me to attach my logs. I don't know how to attach the logs, but these are the details of the problem:

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: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.pumpEventsForFilter(EventDispatchThread.java:109)
   at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
   at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
   at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
   at java.awt.Dialog.show(Dialog.java:1084)
   at java.awt.Component.show(Component.java:1671)
   at java.awt.Component.setVisible(Component.java:1623)
   at java.awt.Window.setVisible(Window.java:1014)
   at java.awt.Dialog.setVisible(Dialog.java:1005)
   at stencyl.sw.editors.game.settings.GamePropertiesDialog.<init>(GamePropertiesDialog.java:280)
   at stencyl.sw.editors.game.settings.GamePropertiesDialog.showNewGameDialog(GamePropertiesDialog.java:190)
   at stencyl.sw.app.App.showNewGameDialog(App.java:1195)
   at stencyl.sw.app.welcome.WelcomeCenter.create(WelcomeCenter.java:897)
   at stencyl.sw.app.lists.AbstractList$3.mousePressed(AbstractList.java:202)
   at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
   at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
   at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
   at java.awt.Component.processMouseEvent(Component.java:6530)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
   at stencyl.sw.app.lists.AbstractList.processMouseEvent(AbstractList.java:281)
   at java.awt.Component.processEvent(Component.java:6298)
   at java.awt.Container.processEvent(Container.java:2236)
   at java.awt.Component.dispatchEventImpl(Component.java:4889)
   at java.awt.Container.dispatchEventImpl(Container.java:2294)
   at java.awt.Component.dispatchEvent(Component.java:4711)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
   at java.awt.Container.dispatchEventImpl(Container.java:2280)
   at java.awt.Window.dispatchEventImpl(Window.java:2746)
   at java.awt.Component.dispatchEvent(Component.java:4711)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
   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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
   at java.awt.EventQueue$4.run(EventQueue.java:731)
   at java.awt.EventQueue$4.run(EventQueue.java:729)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
   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.core.lib.Game.getAllAtlasResources(Game.java:1932)
   at stencyl.core.lib.Game.getResourcesForAtlas(Game.java:2718)
   at stencyl.sw.io.write.GameFileWriter.write(GameFileWriter.java:845)
   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 don't know if those will help, but I hope they do. What should I do?
Thanks,
Thoyal


rob1221

  • Master Stencyler
  • *
March 29, 2017, 10:11:12 am
The error seems to point to a saving/loading problem, but posting the full logs might help.  To do so go to Debug > Logs > Generate Logs.  Then attach the ZIP file using the button on the right side of this page.
  • Status changed from New to Need Info


Issue updated by Justin - July 10, 2018, 11:40:56 pm
  • Status changed from Need Info to Closed


Pages: 1

Details

  • Reported
    December 21, 2016, 11:02:09 am
  • Updated
    July 10, 2018, 11:40:56 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    Stencyl 3.3
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Welcome Center

Tags