Bug 1299973

Summary: jnlp.LaunchException: Fatal: Launch Error - NullPointerException at SecurityDesc.getUrlPermissions(SecurityDesc.java:415)
Product: Red Hat Enterprise Linux 7 Reporter: Deepu K S <dkochuka>
Component: icedtea-webAssignee: jiri vanek <jvanek>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.3CC: dbhole, dkochuka, isenfeld, jvanek
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1299976 (view as bug list) Environment:
Last Closed: 2016-11-04 04:39:36 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:
Bug Depends On:    
Bug Blocks: 1203710, 1297579, 1299976, 1313485    

Description Deepu K S 2016-01-19 16:04:58 UTC
Description of problem:
NullPointerException in icedtea-web 1.6.1 on RHEL 7

$ /usr/bin/javaws http://nextmidas.techma.com/nxm343/htdocs/localshell.jnlp
The application is a local file. Codebase validation is disabled. See: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html for details.
The application is a local file. Codebase validation is disabled. See: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html for details.
netx: Launch Error: Could not launch JNLP file. ()
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized, for more information execute javaws/browser from the command line and send a bug report.
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:580)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:936)
Caused by: java.lang.NullPointerException
	at net.sourceforge.jnlp.SecurityDesc.getUrlPermissions(SecurityDesc.java:415)
	at net.sourceforge.jnlp.SecurityDesc.getSandBoxPermissions(SecurityDesc.java:382)
	at net.sourceforge.jnlp.SecurityDesc.getPermissions(SecurityDesc.java:325)
	at net.sourceforge.jnlp.runtime.ApplicationInstance.installEnvironment(ApplicationInstance.java:269)
	at net.sourceforge.jnlp.runtime.ApplicationInstance.initialize(ApplicationInstance.java:144)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:533)
	... 1 more


Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 7.2
icedtea-web-1.6.1-4.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. javaws http://nextmidas.techma.com/nxm343/htdocs/localshell.jnlp


Actual results:
netx: Launch Error: Could not launch JNLP file. ()
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized, for more information execute javaws/browser from the command line and send a bug report.
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:580)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:936)
Caused by: java.lang.NullPointerException
	at net.sourceforge.jnlp.SecurityDesc.getUrlPermissions(SecurityDesc.java:415)
	at net.sourceforge.jnlp.SecurityDesc.getSandBoxPermissions(SecurityDesc.java:382)
	at net.sourceforge.jnlp.SecurityDesc.getPermissions(SecurityDesc.java:325)
	at net.sourceforge.jnlp.runtime.ApplicationInstance.installEnvironment(ApplicationInstance.java:269)
	at net.sourceforge.jnlp.runtime.ApplicationInstance.initialize(ApplicationInstance.java:144)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:533)
	... 1 more


Expected results:
Application should launch without errors.

Additional info:
Upstream BugZilla is here :
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2489

Issue is also reproducible on RHEL 6 with icedtea-web-1.5.1-1.el6.x86_64

Comment 2 jiri vanek 2016-01-19 16:27:46 UTC
I was fixing this bugzilla in coopoeration with customer, and as 1.6.2 will be released soon, I'm strongly for updating rhels to this bugs-fixing release
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2489

Comment 3 jiri vanek 2016-02-03 16:59:56 UTC
Icedtea web 1.6.2 was released today and was pushed to fedora.

IS trongly advice to update rhel 7.2.z to 1.6.2. The bugfixes contained in 1.6.1 are quite important and complex. , and backport of individual one of them is not possible.

http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2016-February/034831.html

Deepu, may you pelase elaborate on PM ack?

Comment 5 jiri vanek 2016-02-27 12:28:33 UTC
Can we go with 7.2 now?

Comment 6 jiri vanek 2016-02-27 15:22:47 UTC
Pushed and build... Wed Feb 03 2016

Comment 9 jiri vanek 2016-05-10 09:00:59 UTC
This bug is now scheduled for 7.3, Deepu K S' whats the plan with 7.2.z on this topic?

Comment 13 errata-xmlrpc 2016-11-04 04:39:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2362.html