JDK-7154369 : When caching disable, using webstart to launch JNLP with applet-desc causes NPE
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-03-15
  • Updated: 2014-01-13
  • Resolved: 2012-06-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u6Fixed 8 b42Fixed
Related Reports
Relates :  
Description
1. disable cache using Java Control Panel.
2. Run:  javaws http://javaweb/~ntnguyen/tests/check-always-lazy-update/background-update-check-applet.jnlp


Exception in thread "AWT-EventQueue-3" java.lang.NullPointerException
	at sun.plugin2.applet.viewer.JNLP2Viewer$1.run(JNLP2Viewer.java:347)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701)
	at java.awt.EventQueue.access$000(EventQueue.java:102)
	at java.awt.EventQueue$3.run(EventQueue.java:662)
	at java.awt.EventQueue$3.run(EventQueue.java:660)

Comments
Verified on x86 Windows 7 using jre 8-b123 promotion
2014-01-13

EVALUATION LaunchDescriptorFactory.buildDescriptorFromCache() needs to handle temporary cached JNLP file stored as cache entry in case caching disabled.
2012-06-01