Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 441437 - Java Web Start crashes with a Null Pointer Exception
Java Web Start crashes with a Null Pointer Exception
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Joshua Sumali
Fedora Extras Quality Assurance
Depends On:
Blocks: 443851
  Show dependency treegraph
Reported: 2008-04-08 00:06 EDT by Charles R. Anderson
Modified: 2008-04-23 13:52 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-04-18 10:30:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Charles R. Anderson 2008-04-08 00:06:25 EDT
Description of problem:

When I run javaws provided by openjdk it crashes with a Null Pointer Exception.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. run /usr/lib/jvm/java-1.6.0-openjdk-
2. notice "javaws -viewer" works
3. javaws http://java.sun.com/products/javawebstart/apps/notepad.jnlp
Actual results:

Exception in thread "main" java.lang.NullPointerException
	at net.sourceforge.jnlp.runtime.InstallDialog.<init>(InstallDialog.java:57)
	at net.sourceforge.jnlp.runtime.InstallDialog.getInstallDir(InstallDialog.java:153)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.getDefaultBaseDir(JNLPRuntime.java:265)
	at net.sourceforge.jnlp.runtime.Boot.getBaseDir(Boot.java:407)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:168)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:159)

Expected results:
no crash

Additional info:

Please see this Ubuntu bug where this issue was already fixed:

Comment 1 Joshua Sumali 2008-04-08 09:18:33 EDT
This issue is currently fixed in the IcedTea repository. It should be included
in the next openjdk build.
Comment 2 Joshua Sumali 2008-04-08 13:59:24 EDT
As a temporary workaround before the next build gets in, "javaws -basedir <cache
dir> <jnlp-file>" should be fine.
Comment 3 Lillian Angel 2008-04-18 10:30:08 EDT
Building new version into rawhide, should be in tomorrow.

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