JDK-8132687 : Webstart app fails with CouldNotLoadArgumentException when account in Korean
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 8u51
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2015-07-24
  • Updated: 2015-08-11
  • Resolved: 2015-08-11
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :


ADDITIONAL OS VERSION INFORMATION :
All MS Windows from XP to 8.1

A DESCRIPTION OF THE PROBLEM :
This is Korean version for http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8074544 .

When Windows logon account name is Korean, home directry is Korean also.
And when this user activate application from Java Web Start, "CouldNotLoadArgumentException" occures and cannot start.

For example:
CouldNotLoadArgumentException[ ��������� ������/URL��� ��������� ��� ������: C:\Users\���\AppData\Local\Temp\javaws11]
 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)

REGRESSION.  Last worked in version 7u80

ADDITIONAL REGRESSION INFORMATION: 
Last worked in version 7u65


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Log in on administrator account 
2. Chose Korean from the Language bar
3. Create user ���������
4. Set "Current language for non-Unicode programs" to Korean (Korean) inside: 
Control Panel -> Clock, Language, and Region -> Region and Language ->
Administrative (tab) -> Language for non-Unicode programs -> Change system locale
5. Log in on ��������� account
6. Input URL into browser and start with jacaws.
http://docs.oracle.com/javase/tutorialJWS/samples/deployment/dynamictree_webstartJWSProject/dynamictree_webstart.jnlp 
7. 4. Error occures.
CouldNotLoadArgumentException[ ��������� ������/URL��� ��������� ��� ������: C:Usersv���AppDataLocalTempjavaws2]
	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 should be loaded correctly and start.
ACTUAL -
"CouldNotLoadArgumentException" occures and cannot start.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
CouldNotLoadArgumentException[ ��������� ������/URL��� ��������� ��� ������: C:Usersv���AppDataLocalTempjavaws2]
	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
Re-opened post fix confirmation with JRE 9 ea b74. Is there a plan to backport thix fix to 8?
31-07-2015

Per submitter this is a duplicate of JDK-8074544 which has a resolved fix status with JDK 9 ea b61. Sent an email to the submitter requesting confirmation about the status with latest JDK 9 ea version. ======================================================= On 7/30/2015 5:12 PM, ............. wrote: > Hi ............, > > The issue reported by you is a likely duplicate of http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8074544 as reported by you. > The bug has a confirmed fix with JDK 9 ea. Can you please download the JDK 9 ea version from: > https://jdk9.java.net/download/ > Note: Recommended JRE 32-bit for Windows. > > Please confirm back if this issue is resolved with the above mentioned version. > > Thank You, > ............. ====================================================
30-07-2015