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

Renaming desktop shortcut causes application to fail to launch after two updates

XMLWordPrintable

    • b115
    • x86
    • linux, windows_2000, windows_xp

        FULL PRODUCT VERSION :
        java version "1.6.0_14"
        Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
        Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Window XP [Version 5.1.2600]

        A DESCRIPTION OF THE PROBLEM :
        We have a Web Start application that gets updates frequently. We have our application place a desktop shortcut for easier launching. Many of our clientele rename their desktop shortcut. This works correctly until we deploy a new version. The first time they get an update the application downloaded correctly. The second time we sent an update the renamed desktop shortcut stops working



        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Download a Web Start application that places a desktop shortcut. Rename this shortcut. Update the Web Start application. re-launch by clicking on the shortcut. Application launches correctly. Update the Web Start application again. re-launch by clicking on the shortcut. Application fails to launch

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        The Web Start application should update the resources that changed, and launch the application successfully
        ACTUAL -
        A dialog titled "Application Error" with the text "Unable to launch the application. With two buttons [Ok] and [Details]


        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        CouldNotLoadArgumentException[ Could not load file/URL specified: C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\cache\6.0\40\39b28f28-37d1a1c7]
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(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 :
        You must go into the Java Application Cache, remove the application, and download it from the webpage again.

              herrick Andy Herrick (Inactive)
              igor Igor Nekrestyanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: