Stencyl 3.4.0 is now out. Get it now!

Bug Issue: Crash on run


Pages: 1

Ouren

  • Junior Stencyler
June 23, 2017, 12:41:59 pm
I get the follow log when attempting to run an older game in 3.4.0
https://cdn.discordapp.com/attachments/209323692205932544/327895463170670595/log-2017-06-23.zip


Ouren

  • Junior Stencyler
June 23, 2017, 12:47:12 pm
I tried cleaning the project and get the same result when attempting to run the game


rob1221

  • Master Stencyler
  • *
June 23, 2017, 01:16:16 pm
If you're updating from 1.1.1 as shown in one of the log files then I wouldn't expect that to work.  New Stencyl versions may be able to convert the previous major version but not every version that came before that.  I'd recommend installing multiple Stencyl versions from this post and updating one step at a time and fixing issues as you go.


Ouren

  • Junior Stencyler
June 23, 2017, 01:36:49 pm
I had previously attempted 1.1.1, with the IDE getting stuck on "Opening..."

Here is the log from CMD
Code: [Select]
[ERR] Could not delete file: C:\Users\Wolf\AppData\Local\Temp\stencyl27801268445
54713459\sandbox\flash\scripts
[ERR] Could not delete file: C:\Users\Wolf\AppData\Local\Temp\stencyl27801268445
54713459\sandbox\flash\game
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "
"
        at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:71)
        at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:52)
        at stencyl.sw.app.tasks.OpenGameTask.done(OpenGameTask.java:75)
        at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.run
(Unknown Source)
        at org.jdesktop.swingworker.AccumulativeRunnable.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.act
ionPerformed(Unknown Source)
        at javax.swing.Timer.fireActionPerformed(Unknown Source)
        at javax.swing.Timer$DoPostEvent.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at stencyl.core.lib.Game.loadSnippet(Game.java:1460)
        at stencyl.core.lib.Game.loadSnippet(Game.java:1452)
        at stencyl.core.lib.Game.loadSnippets(Game.java:1444)
        at stencyl.core.lib.Game.<init>(Game.java:1046)
        at stencyl.core.lib.Game.create(Game.java:448)
        at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:61
)
        at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:26
)
        at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "
"
        at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:71)
        at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:52)
        at stencyl.sw.app.tasks.OpenGameTask.done(OpenGameTask.java:75)
        at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.run
(Unknown Source)
        at org.jdesktop.swingworker.AccumulativeRunnable.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.act
ionPerformed(Unknown Source)
        at javax.swing.Timer.fireActionPerformed(Unknown Source)
        at javax.swing.Timer$DoPostEvent.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at stencyl.core.lib.Game.loadSnippet(Game.java:1460)
        at stencyl.core.lib.Game.loadSnippet(Game.java:1452)
        at stencyl.core.lib.Game.loadSnippets(Game.java:1444)
        at stencyl.core.lib.Game.<init>(Game.java:1046)
        at stencyl.core.lib.Game.create(Game.java:448)
        at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:61
)
        at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:26
)
        at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
[LOG] Unexpected problem on thread AWT-EventQueue-0: java.lang.NumberFormatExcep
tion: For input string: ""



https://cdn.discordapp.com/attachments/227870283749523459/327910388945649664/log-06-23-2017.zip
« Last Edit: June 23, 2017, 01:39:04 pm by Ouren »


rob1221

  • Master Stencyler
  • *
June 23, 2017, 02:21:53 pm
Your game is even older than 1.1.1?  It looks like it's failing on loading snippets (behaviors).  So maybe something can be fixed with one of your behaviors but I have no idea what.


Ouren

  • Junior Stencyler
June 23, 2017, 02:27:38 pm
I have also attempted to open this in 1.0.0 with the same result as 1.1.1.

This is a source that I was given by another developer to update and bring to new systems, but I have run into this roadblock. Any advice would be appreciated.


rob1221

  • Master Stencyler
  • *
June 23, 2017, 03:11:08 pm
Are you able to open the game at all in any version?


Pages: 1

Details

  • Reported
    June 23, 2017, 12:41:59 pm
  • Updated
    June 23, 2017, 03:11:08 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    Stencyl 3.4
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags