Bug Issue: Error when opening game


Pages: 1

SyncroLight

  • Junior Stencyler
June 13, 2022, 08:00:21 am
I transferred my .stencyl file from my old PC (windows 10) to a new PC (windows 11). It was working fine but I cannot open the game file after I imported it to the new PC. Is the problem in the version of the stencyl? (I used it long ago and forgot what version mine is)

Anyway here's the log:

Unexpected problem on thread AWT-EventQueue-0: java.lang.NumberFormatException: For input string: ""
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: ""
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:74)
   at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:54)
   at stencyl.sw.app.tasks.OpenGameTask.done(OpenGameTask.java:115)
   at javax.swing.SwingWorker$5.run(Unknown Source)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
   at sun.swing.AccumulativeRunnable.run(Unknown Source)
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(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$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(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.create(Game.java:573)
   at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:94)
   at stencyl.sw.app.tasks.OpenGameTask.doInBackground(OpenGameTask.java:35)
   at javax.swing.SwingWorker$1.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at javax.swing.SwingWorker.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

If anyone could help it would be very appreciated, thanks.


Justin

  • Master Stencyler
  • *
June 13, 2022, 09:23:56 pm
Not much can be done without knowing what version of Stencyl you're using. The log file should have the version near the top.
  • Status changed from New to Need Info


SyncroLight

  • Junior Stencyler
June 23, 2022, 09:26:32 pm
Thank you for the info. I just checked that I have stencyl version 3.3.0


Justin

  • Master Stencyler
  • *
June 24, 2022, 11:00:13 am
It looks like this is an issue that's possible when a game is saved in Stencyl 3.3.2 or later and you try to open it in Stencyl 3.3.0. In general, it's not expected that games will remain backward-compatible after they've been opened in later versions of Stencyl.


SyncroLight

  • Junior Stencyler
July 14, 2022, 03:46:20 am
THANK YOU! I've updated my stencyl to the latest version and reopened my game. Now it's working just fine. I appreciate the help very much. Thanks again.


Justin

  • Master Stencyler
  • *
July 14, 2022, 04:35:33 am
Glad I could help!
  • Status changed from Need Info to Closed


Pages: 1

Details

  • Reported
    June 13, 2022, 08:00:21 am
  • Updated
    October 11, 2022, 01:32:44 am

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

Tags