JDK-8051420 : App start with Japanese home directory results in CouldNotLoadArgumentException
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u65
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_8
  • CPU: x86
  • Submitted: 2014-07-18
  • Updated: 2014-10-14
  • Resolved: 2014-10-14
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.
JDK 7
7u71 b12Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b19)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.2.9200]

A DESCRIPTION OF THE PROBLEM :
When Windows logon account name is Japanese, home directry is Japanese also.
And when this user start application from Java Web Start, CouldNotLoadArgumentException occures and cannot start.
Could midification of JDK-8041339 caused this bug?

REGRESSION.  Last worked in version 7u60

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Steps to Reproduce: 
1. Create logon account in Japanese.
2. Logon with the account created in step 1.
3. Input URL into browser and start with jacaws.
 http://docs.oracle.com/javase/tutorialJWS/samples/deployment/dynamictree_webstartJWSProject/dynamictree_webstart.jnlp

4. Error occures.
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\Users\������������\AppData\Local\Temp\javaws18]
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main.access$000(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
	
Note:with jre 1.7.0_60, app can get loaded successfully.


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Application us loaded correctly and start.
ACTUAL -
CouldNotLoadArgumentException occures and cannot start.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\Users\������������\AppData\Local\Temp\javaws18]
	at com.sun.javaws.Main.launchApp(Unknown Source)
	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
	at com.sun.javaws.Main.access$000(Unknown Source)
	at com.sun.javaws.Main$1.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Create logon account with  single-byte characters and switch logon account only when using the application.
This is not a realistic workaround as it is too much of work.


Comments
duplicate of JDK-8054904
14-10-2014

Looks like a duplicate of JDK-8054904. Test case no longer reproduces with 7u71 and later.
14-10-2014