This has really got me!
I honestly can think of a situation where it would work in the Greenfoot IDE, but no when uploaded and not when In a jar?
java.lang.IllegalArgumentException: Could not open sound file: New Folder at greenfoot.sound.SoundExceptionHandler.handleIOException(SoundExceptionHandler.java:66) at greenfoot.sound.SoundFactory.createSound(SoundFactory.java:115) at greenfoot.sound.SoundFactory.getCachedSound(SoundFactory.java:130) at greenfoot.sound.SoundFactory.<init>(SoundFactory.java:67) at greenfoot.sound.SoundFactory.getInstance(SoundFactory.java:77) at greenfoot.export.GreenfootScenarioViewer.init(GreenfootScenarioViewer.java:180) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: Could not find file: New Folder at greenfoot.util.GreenfootUtil.getURL(GreenfootUtil.java:532) at greenfoot.sound.SoundFactory.createSound(SoundFactory.java:95) ... 6 more
java.lang.NullPointerException at greenfoot.core.ProjectProperties.load(ProjectProperties.java:93) at greenfoot.core.ProjectProperties.<init>(ProjectProperties.java:82) at greenfoot.export.GreenfootScenarioViewer.init(GreenfootScenarioViewer.java:152) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: java.lang.NullPointerException
Java Plug-in 1.6.0_31 Using JRE version 1.6.0_31-b05 Java HotSpot(TM) Client VM User home directory = C:\Users\mrinank ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- java.lang.RuntimeException: ERROR: Failed to recover corrupt cache entry at com.sun.deploy.cache.CacheEntry.recover(Unknown Source) at com.sun.deploy.cache.CacheEntry.getCodeSourceCache(Unknown Source) at com.sun.deploy.cache.CacheEntry.getCodeSources(Unknown Source) at com.sun.deploy.cache.CachedJarFile.getCodeSources(Unknown Source) at com.sun.deploy.cache.DeployCacheJarAccessImpl.getCodeSources(Unknown Source) at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: java.lang.RuntimeException: ERROR: Failed to recover corrupt cache entry
java.lang.IllegalArgumentException: Could not open sound file: New Folder at greenfoot.sound.SoundExceptionHandler.handleIOException(SoundExceptionHandler.java:66) at greenfoot.sound.SoundFactory.createSound(SoundFactory.java:115) at greenfoot.sound.SoundFactory.getCachedSound(SoundFactory.java:130) at greenfoot.sound.SoundFactory.<init>(SoundFactory.java:67) at greenfoot.sound.SoundFactory.getInstance(SoundFactory.java:77) at greenfoot.export.GreenfootScenarioViewer.init(GreenfootScenarioViewer.java:180) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: Could not find file: New Folder at greenfoot.util.GreenfootUtil.getURL(GreenfootUtil.java:532) at greenfoot.sound.SoundFactory.createSound(SoundFactory.java:95) ... 6 more