I am trying to play the game Pacman at: http://www.arcadeflex.com/releases/v0.36.4/launch.php?id=134 However, all I get is a blank square instead of the board of the game. Paul
Created attachment 871863 [details] trace on head
Seems to be related to signing by JNLP file. For some reason the jnlpClaslaoder.jnlp.getFileLocation(); returns null.
The affected line ( if (url.getProtocol().toLowerCase().equals("file"))) is there since original Implementation by7 Saad . It seems that when applet is using signature by JNLP then location is not set properly.
Teh fix for this is pretty straightforward: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026530.html However I have not made the http://www.arcadeflex.com/releases/v0.36.4/launch.php?id=134 run :( Now it is dying with : Exception in thread "Thread-8" java.security.AccessControlException: Applets may not call System.exit() at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkExit(JNLPSecurityManager.java:391) at javax.swing.JFrame.setDefaultCloseOperation(JFrame.java:388) at arcadeflex.UrlDownloadProgress.initComponents(UrlDownloadProgress.java:46) at arcadeflex.UrlDownloadProgress.<init>(UrlDownloadProgress.java:28) at arcadeflex.osdepend.main(osdepend.java:75) at arcadeflex.MainApplet$1.run(MainApplet.java:78) at java.lang.Thread.run(Thread.java:744) jsut note - when I remove the system.exit checking code, I made this applet run (ps I spent quite a few..minute... testing it O:) However, I can not remove the exit check in production code. Is it possible to contact application vendor for this?
Thanks, Jiri. I think it is better if you or someone more knowledgeable than I am regarding these matters contact the application vendor -- I know absolutely nothing about java. Paul
The suggested patch goes in, and I contacted the arcadeflex facebook page (only contact I found :( )