1
Ask a Question / Re: Need Help with an Unexpected Problem "Ouch, this should not have happened!"
« on: April 14, 2020, 02:29:41 pm »You are using an out-dated version of Stencyl. You can either get the public release, or since you are an Indie subscriber, get the most recent private build. Those have this error fixed.First things first, after installing a new build, I can open the scene that was giving me the error so thank you very much for solving that issue.
However, I was having issues with the Stencyl uninstaller so i opted to delete my workspace folder and my stencyl folder. I installed build 10468, chose a new location for my workspace folder (because the old one had a non-roman character in it), reacquired the dialog extension, and then imported my game and I immediately got another "Unexpected problem" error with this as the details:
Quote
java.lang.RuntimeException: java.lang.NullPointerException
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:74)
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:54)
at java.desktop/javax.swing.SwingWorker$5.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at java.desktop/sun.swing.AccumulativeRunnable.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at java.desktop/javax.swing.Timer.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at stencyl.core.lib.scene.TileEdgeGraph.takeNextPoint(TileEdgeGraph.java:75)
at stencyl.core.lib.scene.SceneTileCombiner.processScene(SceneTileCombiner.java:288)
at stencyl.sw.io.write.resource.SceneWriterMbs.writeMbs(SceneWriterMbs.java:292)
at stencyl.sw.io.write.resource.SceneWriterMbs.write(SceneWriterMbs.java:79)
at stencyl.core.lib.scene.SceneModel.generateMbs(SceneModel.java:860)
at stencyl.core.lib.scene.SceneModel.lambda$generateMbsIfMissing$0(SceneModel.java:826)
at stencyl.sw.io.MbsCache.generateMbsIfMissing(MbsCache.java:34)
at stencyl.core.lib.scene.SceneModel.generateMbsIfMissing(SceneModel.java:826)
at stencyl.sw.app.tasks.OpenGameTask$PreloadCacheTask.doInBackground(OpenGameTask.java:233)
at stencyl.sw.app.tasks.OpenGameTask$PreloadCacheTask.doInBackground(OpenGameTask.java:185)
at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)