Are you running into the corrupt resource (or game.xml) bug?

Piskoitresot

  • Posts: 3
Hello, my game is broken (( 
when i try to open a project, stencyl get this error:

link to game:
https://www.dropbox.com/s/2lq0h5ays35rc3b/tmhgitw.rar
plz help.

Rob

  • *
  • Posts: 1268
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

Piskoitresot

  • Posts: 3
Can you attach your log here?

Also, check this out:

http://community.stencyl.com/index.php/topic,12097.msg72306.html#msg72306
Logs:
https://www.dropbox.com/s/sspdfhzdjnyo0np/logs.rar

I didnt change the name of my game's folder manually, and i dont use a code-mode behaviors in my game.

Rob

  • *
  • Posts: 1268
Can you either post in zip or txt? Thanks.
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

Piskoitresot

  • Posts: 3

« Last Edit: March 16, 2013, 06:01:00 am by Piskoitresot »

Rob

  • *
  • Posts: 1268
Here are the log for anyone who can help:

[LOG] Mirroring logs to the standard output...
[LOG] Current Working Directory: C:\Programs\Stencyl
[LOG] Reading... global
[LOG] LANGUAGE WARNING: Empty Line.
[LOG] Finished reading lang/en/global.lang
[LOG] Reading... prefs
[LOG] Finished reading lang/en/prefs.lang
[LOG] Reading... gamedg
[LOG] Finished reading lang/en/gamedg.lang
[LOG] Reading... spritedg
[LOG] Finished reading lang/en/spritedg.lang
[LOG] Reading... tset
[LOG] Finished reading lang/en/tset.lang
[LOG] Reading... actor
[LOG] Finished reading lang/en/actor.lang
[LOG] Reading... scene
[LOG] Finished reading lang/en/scene.lang
[LOG] Reading... snippet
[LOG] Finished reading lang/en/snippet.lang
[LOG] Reading... blocks
[LOG] Finished reading lang/en/blocks.lang
[LOG] Reading... blockhelp
[LOG] Finished reading lang/en/blockhelp.lang
[LOG] Initializing Stencyl
[LOG] Failed to load Growl library
[LOG] Activated: Welcome Center
[LOG] Checking workspace writability and location: C:\Users\pisko_000/AppData/Roaming/Stencyl/temp
[LOG] Response: user:ios:
[LOG] Logged in as: Piskoitresot
[LOG] Usergroup: Registered
[LOG] Thanks for subscribing to our iOS Pro program.
[ERR] Attempting to log in
[LOG] Connected to StencylTalk as: piskoitresot@stencyl.com/stencyl-1363345996734
[LOG] Refreshing friends list
[LOG] 200
[LOG] http://www.stencyl.com/sw/updater/getVersions/stencylworksBeta
[LOG] HTTP/1.1 200 OK
<r>
<server status = '200' version = '1beta' time = '1299439687' />   <version required="true" build="502" name="2.2.0" month="06" day="22" year="12" />
   <version required="true" build="501" name="2.1.0" month="05" day="25" year="12" />
   <version required="true" build="500" name="2.0.0" month="04" day="20" year="12" />
   <version required="false" build="415" name="1.4.1" month="01" day="23" year="12" />
   <version required="false" build="414" name="1.4.0" month="01" day="22" year="12" />
   <version required="false" build="413" name="1.3.4" month="12" day="19" year="11" />
   <version required="false" build="412" name="1.3.3" month="12" day="14" year="11" />
   <version required="false" build="411" name="1.3.2" month="12" day="12" year="11" />
   <version required="false" build="410" name="1.3.1" month="12" day="10" year="11" />
   <version required="false" build="409" name="1.3.0" month="12" day="09" year="11" />
   <version required="false" build="408" name="1.2.1" month="10" day="27" year="11" />
   <version required="false" build="407" name="1.2.0" month="10" day="26" year="11" />
   <version required="false" build="406" name="1.1.1" month="09" day="13" year="11" />
   <version required="false" build="405" name="1.1.0" month="09" day="08" year="11" />
   <version required="false" build="404" name="1.0.4" month="07" day="23" year="11" />
   <version required="false" build="403" name="1.0.3" month="07" day="21" year="11" />
   <version required="false" build="402" name="1.0.2" month="06" day="30" year="11" />
   <version required="false" build="401" name="1.0.1" month="05" day="31" year="11" />
   <version required="false" build="400" name="1.0.0" month="05" day="18" year="11" />
   <version required="false" build="399" name="0.9.9" month="05" day="18" year="11" />
</r>
[LOG] Action: StencylForge
[LOG] Visiting: forge://landing/home/
[LOG] Activated: StencylForge
[LOG] http://www.stencyl.com/forge/landingnew/view/
[LOG] Download Took 1041ms
[LOG] Total Took 1085ms
javax.imageio.IIOException: Can't get input stream from URL!
   at javax.imageio.ImageIO.read(Unknown Source)
   at stencyl.sw.util.FileUtil.readImage(FileUtil.java:999)
   at stencyl.sw.util.comp.DeferredImage$1.run(DeferredImage.java:35)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://static.stencyl.com/forge/assets/t22015.png
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
   at java.net.URL.openStream(Unknown Source)
   ... 4 more
java.lang.NullPointerException
   at stencyl.sw.util.gfx.GraphicsUtilities.toLargerImage(GraphicsUtilities.java:224)
   at stencyl.sw.util.comp.DeferredImage$2.run(DeferredImage.java:69)
   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)
javax.imageio.IIOException: Error reading PNG image data
   at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
   at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
   at javax.imageio.ImageIO.read(Unknown Source)
   at javax.imageio.ImageIO.read(Unknown Source)
   at stencyl.sw.util.FileUtil.readImage(FileUtil.java:999)
   at stencyl.sw.util.comp.DeferredImage$1.run(DeferredImage.java:35)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
   at java.net.SocketInputStream.read(Unknown Source)
   at java.io.BufferedInputStream.fill(Unknown Source)
   at java.io.BufferedInputStream.read1(Unknown Source)
   at java.io.BufferedInputStream.read(Unknown Source)
   at sun.net.www.MeteredStream.read(Unknown Source)
   at java.io.FilterInputStream.read(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
   at javax.imageio.stream.MemoryCache.loadFromStream(Unknown Source)
   at javax.imageio.stream.MemoryCacheImageInputStream.read(Unknown Source)
   at com.sun.imageio.plugins.common.SubImageInputStream.read(Unknown Source)
   at com.sun.imageio.plugins.common.InputStreamAdapter.read(Unknown Source)
   at java.io.SequenceInputStream.read(Unknown Source)
   at java.util.zip.InflaterInputStream.fill(Unknown Source)
   at java.util.zip.InflaterInputStream.read(Unknown Source)
   at java.io.BufferedInputStream.fill(Unknown Source)
   at java.io.BufferedInputStream.read1(Unknown Source)
   at java.io.BufferedInputStream.read(Unknown Source)
   at java.io.DataInputStream.readFully(Unknown Source)
   at com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source)
   at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source)
   ... 7 more
java.lang.NullPointerException
   at stencyl.sw.util.gfx.GraphicsUtilities.toLargerImage(GraphicsUtilities.java:224)
   at stencyl.sw.util.comp.DeferredImage$2.run(DeferredImage.java:69)
   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)
[LOG] Action: Publish from Xcode Project (App Store)
[LOG] Activated: Welcome Center
[LOG] Action: StencylForge
[LOG] Activated: StencylForge
javax.imageio.IIOException: Error reading PNG image data
   at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
   at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
   at javax.imageio.ImageIO.read(Unknown Source)
   at javax.imageio.ImageIO.read(Unknown Source)
   at stencyl.sw.util.FileUtil.readImage(FileUtil.java:999)
   at stencyl.sw.util.comp.DeferredImage$1.run(DeferredImage.java:35)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
   at java.util.zip.InflaterInputStream.fill(Unknown Source)
   at java.util.zip.InflaterInputStream.read(Unknown Source)
   at java.io.BufferedInputStream.fill(Unknown Source)
   at java.io.BufferedInputStream.read1(Unknown Source)
   at java.io.BufferedInputStream.read(Unknown Source)
   at java.io.DataInputStream.readFully(Unknown Source)
   at com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source)
   at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source)
   ... 7 more
java.lang.NullPointerException
   at javax.swing.ImageIcon.<init>(Unknown Source)
   at stencyl.sw.util.comp.DeferredImage$2.run(DeferredImage.java:74)
   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)
javax.imageio.IIOException: Error reading PNG image data
   at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
   at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
   at javax.imageio.ImageIO.read(Unknown Source)
   at javax.imageio.ImageIO.read(Unknown Source)
   at stencyl.sw.util.FileUtil.readImage(FileUtil.java:999)
   at stencyl.sw.util.comp.DeferredImage$1.run(DeferredImage.java:35)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
   at java.util.zip.InflaterInputStream.fill(Unknown Source)
   at java.util.zip.InflaterInputStream.read(Unknown Source)
   at java.io.BufferedInputStream.fill(Unknown Source)
   at java.io.BufferedInputStream.read1(Unknown Source)
   at java.io.BufferedInputStream.read(Unknown Source)
   at java.io.DataInputStream.readFully(Unknown Source)
   at com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source)
   at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source)
   ... 7 more
java.lang.NullPointerException
   at stencyl.sw.util.gfx.GraphicsUtilities.toLargerImage(GraphicsUtilities.java:224)
   at stencyl.sw.util.comp.DeferredImage$2.run(DeferredImage.java:69)
   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)
[LOG] Attempting to quit out of Stencyl.
[LOG] Destroying extensions.
[LOG] Destroying Temporary Sandbox.
[LOG] Performing final close.
[LOG] Exiting...
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

L30NPRYER

  • Posts: 6
this is my first time posting here i had the same problem so uninstalled the program and re installed but was still giving the same error so i did some digging into my computer and found out that stencyl doesnt remove all file so do a search on your hard drive for Stencyl after removing the program and delete all except for you backup game then reinstall and import game and see if that cleared any problems


This has happened to me several times, Epic428 helped me to get it running but when we got it back up it was completely messed up, having scenes and actors deleted and i couldnt even test a scene. After that i decided to start over and I made 3 back up copies. It was working fine when I got off but when I got back on Stencyl it was loading very slowly and wasn't showing some of my games. When I was finally able to get on my game I found that not only was it was showing the error message but so were my 3 back ups when i tried to get on them. Please fix this. I finally found a game developing software that I can use only to find out that I can't complete a game and share it without it being wiped. I really want to make this game, I have so many ideas for it and sequels. Please fix this issue. I have included a zip of my original game that had been hit with the error first having most of the data wiped once i could get back on it. I would have also included a zip of my attempt to remake my original game that encoutered the error message for no apparent reason, but do do Stencyls inability to load i could not. I have also included my log.

JavinP

  • Posts: 7
I've notice a "Fix" to the bug. When I made a new game with a three word title it doesn't seem to work and i get the "Game.xml" error, But when i make a game title with a two word title it seems to work. This is just a hunch.

mangrel365

  • Posts: 1
was very excited to download stencyl but the crash course kit keeps crashing. i am running snow lion. when i click to create new game, the new game box does not load completely and the crash course kit is invisible (see screen shot). thanks.

AlexVsCoding

  • *
  • Posts: 178
Hey Folks,

One of my students' game game decided to corrupt and we are now currently unable to open stencylworks. Corrupt resource message has popped up and nothing can be opened or tested.

Here are the logs, hope to find a solution soon as he will be leaving camp soon.

Thanks!

Kennedy004

  • Posts: 4
I cant create a new game, don't know why...need help please!!!

Slimefon

  • Posts: 12
I, too, has encountered this.
Whilst compiling, my computer completely froze and emit a static noise of sorts. I then restarted it and went back to Stencyl, only to find my files corrupted. Stencyl does have a backup feature, but even the backup is not perfect. Some scenes are inaccessible and when I try to test run it the window is all white.