Bug 1072013 - Icedtead-web fails on Arcade site
Summary: Icedtead-web fails on Arcade site
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: icedtea-web
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-03 16:49 UTC by Paul Smith
Modified: 2014-03-10 11:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-10 11:14:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
trace on head (10.94 KB, text/plain)
2014-03-07 11:39 UTC, jiri vanek
no flags Details

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 :( )


Note You need to log in before you can comment on or make changes to this bug.