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

App start with Japanese home directory results in CouldNotLoadArgumentException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 7u65
    • Fix Version/s: 7u71
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      x86
    • OS:
      windows_8

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dbuck David Buck
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: