Hello, I successfully made a Web Start version of my game, and it worked great until recently, I was adding some new functions to the game, and now everytime, when I try to run game through web start I get this error
Code:
java.security.AccessControlException: access denied (java.util.PropertyPermission org.newdawn.slick.pngloader read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at org.newdawn.slick.opengl.ImageDataFactory.getImageDataFor(ImageDataFactory.java:25)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:274)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:230)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:171)
at org.newdawn.slick.Image.<init>(Image.java:183)
at org.newdawn.slick.Image.<init>(Image.java:161)
at org.newdawn.slick.Image.<init>(Image.java:149)
at org.newdawn.slick.Image.<init>(Image.java:127)
at TheGame.init(TheGame.java:180)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:369)
at TheGame.main(TheGame.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
It's obviously some access denied error :p
But I have no idea why it occurrs.
I didn't changed any system preferences, just loaded some new png files into the game.