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

Webstart app fails with CouldNotLoadArgumentException when account in Korean

    XMLWordPrintable

Details

    • x86
    • windows_7

    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.

      Attachments

        Issue Links

          Activity

            People

              herrick Andy Herrick (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: