JDK-8061646 : App start with Japanese home directory results in CouldNotLoadArgumentException
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u71
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2014-10-16
  • Updated: 2014-10-21
  • Resolved: 2014-10-21
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
1.7.0_71-b14 Java HotSpot(TM) Client VM

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]

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. 
Do not fixed in bug ID 8058858 ?

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) 

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.


Comments
I see this was reported against 7u71. But I am unable to reproduce with 7u71. I believe the filer may have an older copy of javaws still on their machine. For example, if you had a 64-bit install of jre1.7u65 and a 32-bit install of jre1.7u71, the u65 (64-bit) version may be used by Windows, even if you use a 32-bit browser (thus launching the application with a 32-bit JVM). Please remove *all* copies of Java except for 7u71 (or later) from the "Programs and Features" list under Control Panel and test again.
21-10-2014

Duplicate of JDK-8054904
21-10-2014