Bug Issue: Error while attempting to save during Crash Course 2


Pages: 1

FlyingFree

  • Junior Stencyler
May 20, 2017, 04:37:49 am
After completing the steps in Part 14 of Crash Course 2 I hit the Save Game button and got an error, when I clicked the Details button I got the following information:
Quote
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.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 javax.imageio.ImageIO.write(ImageIO.java:1538)
   at stencyl.sw.editors.scene.SceneRenderer.captureThumbnail(SceneRenderer.java:126)
   at stencyl.sw.editors.scene.Designer.captureThumbnail(Designer.java:487)
   at stencyl.sw.io.write.resource.SceneWriter.saveThumbnailToDisk(SceneWriter.java:1094)
   at stencyl.sw.editors.scene.SceneTab.save(SceneTab.java:272)
   at stencyl.sw.app.doc.Workspace.saveResource(Workspace.java:1767)
   at stencyl.sw.app.doc.Workspace.saveResourceToMemory(Workspace.java:1810)
   at stencyl.sw.io.write.resource.ScenesWriter.write(ScenesWriter.java:104)
   at stencyl.sw.io.write.MasterWriter.saveGame(MasterWriter.java:97)
   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)
Note: I was able to continue to use Stencyl and successfully save my game after clearing away the error message.
« Last Edit: May 20, 2017, 04:41:55 am by FlyingFree »


New attachment added by FlyingFree - May 20, 2017, 04:40:29 am


Issue updated by FlyingFree - May 20, 2017, 04:41:55 am
  • Version changed from Stencyl 3.4 to Stencyl 3.4, 3.4.0 beta4


rob1221

  • Master Stencyler
  • *
May 20, 2017, 05:05:53 am
Do you get this error each time you save, or is it random?


FlyingFree

  • Junior Stencyler
May 20, 2017, 05:07:54 am
It has only happened once so far and once I cleared the error message I was able to continue to use Stencyl and save.


FlyingFree

  • Junior Stencyler
May 20, 2017, 06:17:10 am
I've now encountered the error about a half dozen times, always when saving and always I can just clear the error message and hit save again and it works.


FlyingFree

  • Junior Stencyler
May 20, 2017, 07:35:08 am
After getting this error about a dozen times I got another error message saying Stencyl was over 90% memory use and needs to be restarted.


Issue updated by Justin - February 04, 2018, 01:37:59 am
  • Category changed from Engine to UI / Workflow


Issue updated by rob1221 - January 18, 2019, 01:19:29 pm
  • Status changed from New to Closed


Pages: 1

Details

  • Reported
    May 20, 2017, 04:37:49 am
  • Updated
    January 18, 2019, 01:19:29 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    Stencyl 3.4, 3.4.0 beta4
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    UI / Workflow

Tags


Attachments

* log-2017-05-20.zip (16.55 kB - downloaded 104 times.)