Bug Issue: Config file is origin of Unexpected Error thrown when opening game project


Pages: 1

Sk8rCai

  • Junior Stencyler
March 01, 2017, 10:18:43 am
Hello,

I've discovered a bug while updating to the newest versions of Stencyl from older game projects.

Within game.xml if the SimulatorOS value is stuff to null (simulatorOS="Null") then Stencyl will not open the game project and throw an Unexpected Error.

To resolve this issue I replaced "Null" with "10.2" (as per another game project created in 3.4.0).

This was determined from the following error within the logs that were generated:

java.lang.IllegalArgumentException: invalid version "null": non-numeric "null"


rob1221

  • Master Stencyler
  • *
April 27, 2017, 09:16:58 am
Duplicate of http://community.stencyl.com/index.php?issue=740.0

In that link Justin suggested a code change you can try.
  • Status changed from New to Duplicate


Justin

  • Master Stencyler
  • *
April 27, 2017, 09:50:10 am
The linked issue is private. I know that Sk8rCai already fixed his issue manually, but for anybody else who stumbles on this, here's the fix.

Go to your game's folder in your stencyl workspace, and open game.xml. Make sure that the root element contains these two attributes, and just set their value to something like "0.0".

Code: [Select]
<game . . .  simulatorOS="0.0" simulatorTargetOS="0.0" . . . >
This will be fixed in an upcoming nightly release, and the next public release.


Pages: 1

Details

  • Reported
    March 01, 2017, 10:18:43 am
  • Updated
    April 27, 2017, 09:50:10 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Duplicate
  • Priority
    Normal
  • Version
    3.4.0 beta4, 3.4.0 beta5
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Updating Stencyl

Tags