Bug Issue: Compiling for Android reports errors. Sometimes.


Pages: 1

oripessach

  • Subscriber - Stencyl Studio
  • *
September 28, 2015, 10:28:00 pm
I'm not sure exactly how to reproduce this, but once the problem happens I can make it go away temporarily by quitting Stencyl and restarting it.

Compiling to Android without cleaning the game sometimes generates errors. I'm attaching a log.


New attachment added by oripessach - September 28, 2015, 10:28:25 pm


Jon

  • Chief Stencyler
  • *
September 28, 2015, 11:45:42 pm
For whatever reason, the app copies files and sometimes the files don't seem to copy over, causing problems. That explains the random nature of it.

Code: [Select]
2015-09-28 22:58:31,195 DEBUG [pool-7-thread-2] stencyl.sw.io.write.resource.SnippetsWriter: Copying /private/var/folders/z5/051jfxzd10jgz46w7l63yyx00000gn/T/stencyl6694604620605243458/sandbox/test/temp/code/LevelInfo.hx to /Users/oripessach/stencylworks/preview/scripts/LevelInfo.hx
2015-09-28 22:58:31,195 ERROR [pool-7-thread-2] stencyl.sw.io.write.resource.SnippetsWriter: Source '/private/var/folders/z5/051jfxzd10jgz46w7l63yyx00000gn/T/stencyl6694604620605243458/sandbox/test/temp/code/LevelInfo.hx' does not exist
java.io.FileNotFoundException: Source '/private/var/folders/z5/051jfxzd10jgz46w7l63yyx00000gn/T/stencyl6694604620605243458/sandbox/test/temp/code/LevelInfo.hx' does not exist
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1074)
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1038)
at stencyl.sw.io.write.resource.SnippetsWriter.convert(SnippetsWriter.java:598)

Code: [Select]
2015-09-28 22:58:31,180 DEBUG [pool-7-thread-1] stencyl.sw.io.write.resource.SnippetsWriter: Copying /private/var/folders/z5/051jfxzd10jgz46w7l63yyx00000gn/T/stencyl6694604620605243458/sandbox/test/temp/code/ImageUtil.hx to /Users/oripessach/stencylworks/preview/scripts/ImageUtil.hx
2015-09-28 22:58:31,180 ERROR [pool-7-thread-1] stencyl.sw.io.write.resource.SnippetsWriter: Source '/private/var/folders/z5/051jfxzd10jgz46w7l63yyx00000gn/T/stencyl6694604620605243458/sandbox/test/temp/code/ImageUtil.hx' does not exist
java.io.FileNotFoundException: Source '/private/var/folders/z5/051jfxzd10jgz46w7l63yyx00000gn/T/stencyl6694604620605243458/sandbox/test/temp/code/ImageUtil.hx' does not exist
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1074)
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1038)

Code: [Select]
java.io.FileNotFoundException: Source '/Users/oripessach/stencylworks/games/Tres Caballeros/inner-joystick@3x.png' does not exist
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1074)
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1038)
at stencyl.sw.io.write.resource.HXWriter.copyScaledFiles(HXWriter.java:2543)


oripessach

  • Subscriber - Stencyl Studio
  • *
September 29, 2015, 12:01:00 am
Maybe a file handle leak in the application?


Issue updated by captaincomic - November 03, 2015, 04:44:43 pm
  • Status changed from New to Resolved


Pages: 1

Details

  • Reported
    September 28, 2015, 10:28:00 pm
  • Updated
    November 03, 2015, 04:44:43 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.3, 3.3.2
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Compiling/Testing Games

Tags


Attachments

* log-2015-09-28.zip (262.69 kB - downloaded 75 times.)