United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6940842 NPE in mapSignersToCodeSource when not caching files locally
6940842 : NPE in mapSignersToCodeSource when not caching files locally

Details
Type:
Bug
Submit Date:
2010-04-05
Status:
Resolved
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2010-05-04
Component:
deploy
OS:
windows_vista,solaris_8,windows_xp
Sub-Component:
webstart
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10,6u19
Fixed Versions:
6u20-rev

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

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.
                                     
2010-04-15



Hardware and Software, Engineered to Work Together