Bug Issue: Unexpected error when filling with blank tile and saving


Pages: 1

letmethink

  • Master Stencyler
  • *
January 27, 2016, 12:58:49 pm
Using build 8977, I can reproduce this error. Place some tiles in any scene. Select a tile to the complete right of all the tiles in your tileset. Select the fill tool. Fill the tiles you placed with this tile (make sure you're not just using the pencil tool and are actually filling).

Then, upon saving the scene, you will be presented with this unexpected error:
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.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.scene.TileData.equals(TileData.java:26)
at stencyl.sw.io.write.resource.SceneWriter.layerToByte(SceneWriter.java:398)
at stencyl.sw.io.write.resource.SceneWriter.layersToByte(SceneWriter.java:321)
at stencyl.sw.io.write.resource.SceneWriter.writeData(SceneWriter.java:274)
at stencyl.sw.io.write.resource.SceneWriter.write(SceneWriter.java:81)
at stencyl.sw.editors.scene.SceneTab.save(SceneTab.java:273)
at stencyl.sw.app.doc.Workspace.saveResource(Workspace.java:1828)
at stencyl.sw.app.doc.Workspace.saveResourceToMemory(Workspace.java:1871)
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)
« Last Edit: January 27, 2016, 12:59:55 pm by letmethink »


Issue updated by letmethink - January 27, 2016, 12:59:55 pm
  • Issue renamed from "Unexpected error on when filling with blank tile and saving" to "Unexpected error when filling with blank tile and saving"


Issue updated by captaincomic - February 07, 2016, 06:15:17 am
  • Status changed from New to Confirmed


Issue updated by Justin - April 07, 2016, 11:23:27 pm
  • Issue Assigned from (none) to Justin


Justin

  • Master Stencyler
  • *
July 10, 2018, 06:47:36 pm
This is the original issue, but since the duplicate was acted on, marking this as the duplicate.

http://community.stencyl.com/index.php?issue=1232.0
  • Status changed from Confirmed to Duplicate
  • Issue Assigned from Justin to (none)


Pages: 1

Details

  • Reported
    January 27, 2016, 12:58:49 pm
  • Updated
    July 10, 2018, 06:47:36 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Duplicate
  • Priority
    Normal
  • Version
    Stencyl 3.4
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Scene Designer

Tags