JDK-6940842 : NPE in mapSignersToCodeSource when not caching files locally
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u10,6u19
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_8,windows_xp,windows_vista
  • CPU: x86
  • Submitted: 2010-04-05
  • Updated: 2011-02-16
  • Resolved: 2010-05-04
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 6 JDK 7
6u20-rev b05Fixed 7Fixed
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
1.6.0_19-b04

ADDITIONAL OS VERSION INFORMATION :
6.0.6002

A DESCRIPTION OF THE PROBLEM :
Opening a webstart app when 'Keep temporary files on my computer' is off results in this exception. Jars in the app have been signed.

java.lang.NullPointerException
	at java.util.jar.JarVerifier.mapSignersToCodeSource(Unknown Source)
	at java.util.jar.JarVerifier.mapSignersToCodeSources(Unknown Source)
	at java.util.jar.JarVerifier.getCodeSources(Unknown Source)
	at java.util.jar.JarFile.getCodeSources(Unknown Source)
	at java.util.jar.JavaUtilJarAccessImpl.getCodeSources(Unknown Source)
	at com.sun.deploy.cache.DeployCacheJarAccessImpl.getCodeSources(Unknown Source)
	at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
	at com.sun.javaws.security.SigningInfo.check(Unknown Source)
	at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
	at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
	at com.sun.javaws.Launcher.prepareResources(Unknown Source)
	at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.launch(Unknown Source)
	at com.sun.javaws.Main.launchApp(Unknown Source)
	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
	at com.sun.javaws.Main$1.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)



REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION see comments.
15-04-2010