Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6940842

NPE in mapSignersToCodeSource when not caching files locally

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b05
    • CPU:
      x86
    • OS:
      solaris_8, windows_xp, windows_vista

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dgu Dennis Gu (Inactive)
                Reporter:
                ndcosta Nelson Dcosta (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: