JDK-6462519 : javaws Invalid Argument Error (Too many arguments) when downloading JRE from java.sun.com
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 5.0u9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2006-08-22
  • Updated: 2010-04-04
  • Resolved: 2006-08-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0u10Resolved
Related Reports
Duplicate :  
Description
javaws Invalid Argument Error (Too many arguments) when downloading JRE from java.sun.com.

Testcase => http://web-east.east/www/tests/1.6.0/6298822/test4.jnlp

Testcase passes with 5.0u7fcs and 5.0u8fcs but fails with 5.0u9 (b01).

How to reproduce? Do the following.

1. Install one of the above mentioned jres on system.
2. Then run the testcase as follows:

# cd <jre-directory>
# cd javaws
# ./javaws http://web-east.east/www/tests/1.6.0/6298822/test4.jnlp

Click Download when prompted, agree to any licence requirements etc.

If you install all 3 jres and run testcase with different jre each time, then maybe good idea to clear cache out each time.

Reproduciblity => 100%

Other platforms?

I ran testcase on x86-SuSE10 Pro system with 5.0u7fcs, 5.0u8fcs and 5.0u9 (b01). It failed with 5.0u9(b01) but passed with 5.0u7fcs and 5.0u8fcs.

I ran testcase on x86-winxppro system with 5.0u7fcs, 5.0u8fcs and 5.0u9 (b01) and it passed ok with each jre.

This looks like a regression from 5.0u8fcs to 5.0u9 (b01).

Comments
EVALUATION problem caused by fix to 6420226, as we now cannot launch any extension installer that is not in system cache. code: String[] args = new String[]{ Globals.isSystemCache() ? "-system" : "", "-installer", jnlpFile.getAbsolutePath() }; results in args[0] = "", which causes the problem.
22-08-2006