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

Regression: NullPointerException in com.sun.javaws.security.SigningInfo.verifyAllEntriesSign

    Details

    • Subcomponent:
    • Introduced In Version:
      6u6
    • Resolved In Build:
      b01
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      FULL PRODUCT VERSION :
      Java Web Start 1.6.0_06
      Verwendung der JRE-Version 1.6.0_05 Java HotSpot(TM) Client VM

      ADDITIONAL OS VERSION INFORMATION :
      >ver

      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      contents of jnlp-File:

      <?xml version="1.0" encoding="UTF-8"?>
      <jnlp spec="1.0+" codebase="http://www.le32.de:4050">
      <information>
        <title>FirstSpirit Client (www.le32.de)&lt;/title>
        <vendor>e-Spirit AG</vendor>
        <homepage href="http://firstspirit.de"/>
        <description>FirstSpirit Client (www.le32.de)&lt;/description>
        <icon href="../img/FSicon.gif"/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <application-desc main-class="de.espirit.firstspirit.client.CMSExplorer"/>
      <icon kind="splash" href="../img/logo.jpg"/>
      <resources>
        <j2se version="1.5+" max-heap-size="512m"/>
        <jar href="fs-client.jar"/>
        <property name="compression" value="0"/>
        <property name="encryption" value="0"/>
        <property name="host" value="www.le32.de"/>
        <property name="locale" value="de"/>
        <property name="login" value="client"/>
        <property name="login.ticket" value="zx9lbs3rsqy9"/>
        <property name="login.type" value="MAIN"/>
        <property name="maximize" value="false"/>
        <property name="mode" value="HTTP"/>
        <property name="port" value="4050"/>
        <property name="servletZone" value="/"/>
        <property name="sun.java2d.noddraw" value="true"/>
        <property name="url" value="http://www.le32.de:4050"/>
      </resources>
      </jnlp>

      A DESCRIPTION OF THE PROBLEM :
      After updating from java 1.6u3 to java 1.6u6 starting of our webstart application fails from time to time with a NullPointerException:

      java.lang.NullPointerException
      at com.sun.javaws.security.SigningInfo.verifyAllEntriesSigned(Unknown Source)
      at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
      at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
      at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
      at com.sun.javaws.Launcher.prepareLaunchFile(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)

      The jar is signed and pack200

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Starting a webstart application with one large signed jar with java 1.6u6


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.lang.NullPointerException
      at com.sun.javaws.security.SigningInfo.verifyAllEntriesSigned(Unknown Source)
      at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
      at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
      at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
      at com.sun.javaws.Launcher.prepareLaunchFile(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)

      webstart error log:

      #### Java Web Start Error:
      #### null

      REPRODUCIBILITY :
      This bug can be reproduced occasionally.

      CUSTOMER SUBMITTED WORKAROUND :
      Use java 1.6u3 or 1.5

      Release Regression From : 6u3
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                herrick Andy Herrick
                Reporter:
                ndcosta Nelson Dcosta
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: