Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
+++ 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.
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.
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