Bug Issue: Program won't let me create a game


Pages: 1

natepanetti

  • Junior Stencyler
November 29, 2016, 12:49:35 pm
When I start up the application, it won't let me create a game from scratch. It gives me the error; "Ouch, this should not have happened! Please report this error.." yada yada yada. I think it has to do with the fact that I have OS Sierra. The only reason I think this is because the same issue is occurring with my friends who also have OS Sierra.

Here is the code:

Code: [Select]
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)
« Last Edit: May 09, 2017, 11:54:58 pm by Justin »


Issue updated by rob1221 - December 26, 2016, 04:47:01 pm
  • Category changed from Engine to Dashboard


rob1221

  • Master Stencyler
  • *
March 31, 2017, 09:45:01 am
Does this problem still persist if you install the current version of Stencyl?
  • Status changed from New to Need Info


MuggzyBones

  • Junior Stencyler
May 09, 2017, 11:45:29 pm
Does this problem still persist if you install the current version of Stencyl?
I also have the same issue and I can confirm that it happens on the current version, also Im on windows ten so Im not sure if its because of the OS
« Last Edit: May 10, 2017, 03:45:27 am by MuggzyBones »


rob1221

  • Master Stencyler
  • *
May 10, 2017, 05:05:38 am
Could you attach the full log file?  Maybe there is more information in there.


New attachment added by MuggzyBones - May 10, 2017, 06:46:31 am


rob1221

  • Master Stencyler
  • *
May 10, 2017, 09:21:50 am
I found an old topic with a similar error and it might be a permissions issue.  Try running Stencyl as administrator and see if that solves the problem.


Issue updated by Justin - July 11, 2018, 12:07:16 am
  • Status changed from Need Info to Closed


Pages: 1

Details

  • Reported
    November 29, 2016, 12:49:35 pm
  • Updated
    July 11, 2018, 12:07:16 am

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

Tags


Attachments

* log-2017-05-10.zip (4.99 kB - downloaded 80 times.)