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

A .jnlp file specifying several, large, <property> elements cannot be launched

    Details

    • Subcomponent:
    • Resolved In Build:
      b115
    • CPU:
      x86
    • OS:
      linux, windows_xp
    • Verification:
      Verified

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.7.0_01"
        Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
        Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)


        ADDITIONAL OS VERSION INFORMATION :
        Linux impala 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux


        EXTRA RELEVANT SYSTEM CONFIGURATION :
        This problem is almost certainly platform independent.

        A DESCRIPTION OF THE PROBLEM :
        The following .jnlp file can be started using the javaws included in the Java runtime 1.6.0_29, but *cannot* be started using the javaws included in the Java runtime 1.7.0_01.

        It seems that specifying several, ``large'', <property> elements now poses a problem.

        ---
        <?xml version="1.0" encoding="UTF-8" ?>
        <jnlp codebase="http://192.168.1.28/~hussein/JWS_BUG" href="showsysprops.jnlp">
          <information>
            <title>Show System Properties</title>
            <vendor>Pixware SARL</vendor>
            <homepage href="http://www.pixware.fr/"/>
            <description>Show System Properties<</description>
            <icon href="showsysprops.png" width="64" height="64"/>
          </information>

          <security>
            <all-permissions/>
          </security>

          <resources>
            <j2se version="1.6+" java-vm-args="-Xss4m -Xmx512m"/>
            <jar main="true" download="eager" href="showsysprops.jar"/>
            <property name="javaws.property.1"
                      value="javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value;javaws.property.1.value"/>
            <property name="javaws.property.2"
                      value="javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value;javaws.property.2.value"/>
            <property name="javaws.property.3"
                      value="javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value;javaws.property.3.value"/>
            <property name="javaws.property.4"
                      value="javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value;javaws.property.4.value"/>
            <property name="javaws.property.5"
                      value="javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value;javaws.property.5.value"/>
            <property name="javaws.property.6"
                      value="javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value;javaws.property.6.value"/>
            <property name="javaws.property.7"
                      value="javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value;javaws.property.7.value"/>
            <property name="javaws.property.8"
                      value="javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value;javaws.property.8.value"/>
          </resources>

          <application-desc main-class="ShowSystemProperties"/>
        </jnlp>
        ---


        REGRESSION. Last worked in version 6u29

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        [1] Open the following page in a web browser associating .jnlp files to the javaws executable included in the 1.7.0_01 runtime.

        http://www.pixware.fr/_download/JWS_BUG/index.html

        [2] Click the "Show System Properties" button to start a trivial application displaying all the system properties in a JFrame containing a JTextArea.

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        You should see a window displaying all the system properties.
        ACTUAL -
        You get a error dialog box saying "Unable to launch the application".

        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        Clicking the "Details" button gives:

        InvalidArgumentException[ Invalid arguments supplied: { }]
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:722)


        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        Download it from:

        http://www.pixware.fr/_download/./JWS_BUG.zip

        (10828bytes, Sun Nov 13 07:18:02 PM CET 2011)

        ---------- END SOURCE ----------

        CUSTOMER SUBMITTED WORKAROUND :
        When possible,

        * remove some <property> elements from the .jnlp

        * remove as much value data as possible from the remaining <property> elements.

        For example, the .jnlp file used to reproduce the problem can be started if you remove all the <property> elements but one.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mcherkas Mikhail Cherkasov (Inactive)
                  Reporter:
                  webbuggrp Webbug Group
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: