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

Javaws throws an InvalidArgumentException if URL argument exceeds 250 chars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 7u6
    • 6u10
    • deploy
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.6.0_18"
      Java(TM) SE Runtime Environment (build 1.6.0_18-b07)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      The Java Web Start fails to start when the URL passed as argument exceeds 250 characters.

      Example: /usr/bin/javaws 'http://localhost:8080/test/myJsp.jsp?params=parameter&parameter=1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
       
      Javaws returns the 'Unable to launch the application' dialog with following details:

      InvalidArgumentException[ Invalid arguments supplied: { }]
        at com.sun.javaws.Main.continueInSecureThread(Main.java:144)
        at com.sun.javaws.Main$1.run(Main.java:111)
        at java.lang.Thread.run(Thread.java:637)
       
      When removing one character for the URL string, everything works fine.


      REPRODUCIBILITY :
      This bug can be reproduced always.

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

            ngthomas Thomas Ng (Inactive)
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: