RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1299976 - jnlp.LaunchException: Fatal: Initialization Error - NullPointerException SecurityDialogs.showMissingALACAttributePanel when codebase not specified
Summary: jnlp.LaunchException: Fatal: Initialization Error - NullPointerException Secu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: icedtea-web
Version: 6.7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: jiri vanek
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On: 1299973
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-19 16:13 UTC by Deepu K S
Modified: 2019-10-10 10:55 UTC (History)
5 users (show)

Fixed In Version: icedtea-web-1.6.2-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 1299973
Environment:
Last Closed: 2016-05-10 20:15:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Icedtea Bugzilla 2489 0 None None None 2016-01-19 16:13:13 UTC
Red Hat Product Errata RHSA-2016:0778 0 normal SHIPPED_LIVE Moderate: icedtea-web security, bug fix, and enhancement update 2016-05-10 22:35:24 UTC

Description Deepu K S 2016-01-19 16:13:13 UTC
+++ This bug was initially created as a clone of Bug #1299973 +++

Description of problem:
NullPointerException in icedtea-web 1.5.1 on RHEL 6

this JNLP file does not have the optional "codebase" attribute specified.

net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line.
	at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:783)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:523)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:905)
Caused by: java.lang.NullPointerException
	at net.sourceforge.jnlp.security.SecurityDialogs.showMissingALACAttributePanel(SecurityDialogs.java:279)
	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkApplicationLibraryAllowableCodebaseAttribute(ManifestAttributesChecker.java:312)
	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkAll(ManifestAttributesChecker.java:82)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:288)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)
	at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:775)
	... 2 more


Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 6.7
icedtea-web-1.5.1-1.el6.x86_64

How reproducible:
Always

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


Actual results:
$ /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: Initialization Error: Could not initialize application. ()
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line.
	at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:783)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:523)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:905)
Caused by: java.lang.NullPointerException
	at net.sourceforge.jnlp.security.SecurityDialogs.showMissingALACAttributePanel(SecurityDialogs.java:279)
	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkApplicationLibraryAllowableCodebaseAttribute(ManifestAttributesChecker.java:312)
	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkAll(ManifestAttributesChecker.java:82)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:288)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)
	at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:775)
	... 2 more



Expected results:
Application should launch without errors.

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

RHEL 7 BZ is : https://bugzilla.redhat.com/show_bug.cgi?id=1299973

--- Additional comment from RHEL Product and Program Management on 2016-01-19 11:06:39 EST ---

Since this bug report was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 jiri vanek 2016-01-19 16:28:06 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 4 jiri vanek 2016-02-03 17:01:12 UTC
Icedtea web 1.6.2 was released today and was pushed to fedora.

Is strongly advice to update rhel 6.8 to 1.6.2. There is opned erratum for rebase ITW in rhel 6.8 to 1.6, I will rebase it directly to 1.6.2

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

For sake of compeltness, Deepu, may you pelase elaborate on PM ack?

tahnx.

Comment 5 jiri vanek 2016-02-27 12:28:17 UTC
Ping? Where is this blocked?

Comment 6 jiri vanek 2016-02-27 12:29:13 UTC
Sorry. nowhere.

Comment 10 errata-xmlrpc 2016-05-10 20:15:23 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/RHSA-2016-0778.html


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