Bug 1072013

Summary: Icedtead-web fails on Arcade site
Product: [Fedora] Fedora Reporter: Paul Smith <phhs80>
Component: icedtea-webAssignee: jiri vanek <jvanek>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dbhole, jvanek, omajid, phhs80
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-10 11:14:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
trace on head none

Description Paul Smith 2014-03-03 16:49:42 UTC
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

Comment 1 jiri vanek 2014-03-07 11:39:36 UTC
Created attachment 871863 [details]
trace on head

Comment 2 jiri vanek 2014-03-07 11:59:46 UTC
Seems to be related to signing by JNLP file. For some reason the  jnlpClaslaoder.jnlp.getFileLocation(); returns null.

Comment 3 jiri vanek 2014-03-07 12:02:12 UTC
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.

Comment 4 jiri vanek 2014-03-07 12:45:31 UTC
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?

Comment 5 Paul Smith 2014-03-08 15:16:46 UTC
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

Comment 6 jiri vanek 2014-03-10 11:14:47 UTC
The suggested patch goes in, and I contacted the  arcadeflex facebook page (only contact I found :( )