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

Uninstalling application when cache is disabled prompts a wrong error message

XMLWordPrintable

    • b56
    • generic
    • generic
    • Verified

      JDK-Info:
      ---------
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b50)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b50, mixed mode)


      Operating System:
      -----------------
      Generic


      Steps to Reproduce:
      -------------------
      1) Install jre b50
      2) Clean cache (\rm -rf ~/.java)
      3) Launch Java ControlPanel
      4) Click on "Settings..."
      5) Disable cache (Uncheck "Keep temporary files on my computer") and close JCP
      6) Laucnh a JNLP application (./javaws http://java.sun.com/products/javawebstart/apps/mg.jnlp)
      7) Uninstall the application (./javaws -uninstall)

      The following error message is displayed:

      Error: Caching is disabled. You cannot import into the cache.

      JNLPException[category: System Configuration : Exception: null : LaunchDesc: null ]
      at com.sun.javaws.Main.continueInSecureThread(Main.java:147)
      at com.sun.javaws.Main$1.run(Main.java:105)
      at java.lang.Thread.run(Thread.java:608)



      Expected Behavior:
      ------------------
      More appropriate "information" message should be displayed. When user tries to uninstall an application, an error message "You cannot import into the cache" is mis-guiding.

            ngthomas Thomas Ng (Inactive)
            rkumarsunw Ram Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: