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

Permissions attribute missing exception after accept

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3 P3
    • None
    • 8, 8u5
    • deploy
    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.8.0_05"
      Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 SP1 x64 & Windows 8.1 x64

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      JNLP out of 32 bit IE 11. Both 32 bit and 64 bit Java installed.
      Web site in exception list and security setting set to Medium.

      A DESCRIPTION OF THE PROBLEM :
      Since upgrade to 1.8.0_05 from 1.8.0, prompted to run jar with warning that the jar does not contain a Permissions attribute. Click Run (after checking Accept) and jar does not run (should and used to with Medium security setting.

      REGRESSION. Last worked in version 8

      ADDITIONAL REGRESSION INFORMATION:
      See above. Was working in all prior releases including 1.8.0.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Running JNLP from web site on excluded list with medium security settings.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Warning message followed by running jar.
      ACTUAL -
      Warning message followed by Application Error, Unable to launch application.


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.lang.SecurityException: Missing required Permissions manifest attribute in main jar: https://url.replaced.abc/webstart/N-central/jrcc-1.6.jar
      at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source)
      at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source)
      at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------

      <jnlp spec="1.5+" codebase="https://url.replaced.abc/webstart/N-central">
        <information>
          <title>Java Remote Control Connector</title>
          <vendor>N-able Technologies</vendor>
          <homepage href="http://www.n-able.com"/>
          <description>Remote control over SSH</description>
          <description kind="short">JRCC</description>
          <icon kind="splash" href="/images/webstart/jrccSplash.png"/>
        </information>
        <security>
          <all-permissions/>
        </security>
        <resources>
          <jar href="servlet-api-2.5-20081211.jar" version="9.2"/>
        </resources>
        <resources os="Windows">
          <j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+" initial-heap-size="64m"/>
          <jar href="jrcc-1.6.jar" version="9.2"/>
          <property name="jnlp.packEnabled" value="true"/>
          <property name="jnlp.versionEnabled" value="true"/>
        </resources>
        <resources os="Mac OS X" arch="x86">
          <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+" initial-heap-size="64m"/>
          <jar href="jrcc-1.5.jar" version="9.2"/>
          <jar href="swing-layout-1.0.3.jar" version="9.2"/>
          <jar href="swing-worker-1.1.jar" version="9.2"/>
        </resources>
        <resources os="Mac OS X" arch="x86_64">
          <j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+" initial-heap-size="64m"/>
          <jar href="jrcc-1.6.jar" version="9.2"/>
          <property name="jnlp.packEnabled" value="true"/>
          <property name="jnlp.versionEnabled" value="true"/>
        </resources>
        <resources os="Mac OS X" arch="ppc">
          <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+" initial-heap-size="64m"/>
          <jar href="jrcc-1.5.jar" version="9.2"/>
          <jar href="swing-layout-1.0.3.jar" version="9.2"/>
          <jar href="swing-worker-1.1.jar" version="9.2"/>
        </resources>
        <resources os="Linux">
          <j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+" initial-heap-size="64m"/>
          <jar href="jrcc-1.6.jar" version="9.2"/>
          <property name="jnlp.packEnabled" value="true"/>
          <property name="jnlp.versionEnabled" value="true"/>
        </resources>
        <application-desc main-class="com.nable.ui.jrcc.Main">
          <argument>arguments:removed</argument>
        </application-desc>
      </jnlp>
      ---------- END SOURCE ----------

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: