sarafernandezab / kcbomberman

Automatically exported from code.google.com/p/kcbomberman
0 stars 0 forks source link

Logfile verhindert Start per Java Webstart #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Exception

java.security.AccessControlException: access denied 
(java.io.FilePermission log.txt write)
    at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:323)
    at java.security.AccessController.checkPermission
(AccessController.java:546)
    at java.lang.SecurityManager.checkPermission
(SecurityManager.java:532)
    at java.lang.SecurityManager.checkWrite(SecurityManager.java:962)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
    at java.io.PrintWriter.<init>(PrintWriter.java:146)
    at bomberman.server.Logger.<init>(Logger.java:43)
    at bomberman.server.Server.<init>(Server.java:65)
    at bomberman.server.ServerThread.<init>(ServerThread.java:38)
    at bomberman.Main.main(Main.java:69)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.javaws.Launcher.executeApplication(Launcher.java:1293)
    at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1239)
    at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1086)
    at com.sun.javaws.Launcher.run(Launcher.java:105)
    at java.lang.Thread.run(Thread.java:619)

Falls eine solche Exception auftritt, muss das Logging deaktiviert werden.

Original issue reported on code.google.com by christia...@web.de on 25 Jun 2008 at 10:51

GoogleCodeExporter commented 8 years ago

Original comment by christia...@web.de on 25 Jun 2008 at 12:55