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

Links to missing resources on desktop cause JFileChooser to popup error messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description



      Name: js151677 Date: 06/11/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
      Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :

      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      The drive or network connection that foo.lnk refers to is unavailable

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Place a shortcut to a missing resource (such as a file in a directory that has been deleted) on the desktop.
      Open swingSet 2.
      Click "show plain JFileChooser"

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      FileChooser appears with no errors.
      ACTUAL -
      Windows pops up a dialog complaining that the "drive or network connection" one of the shortcuts refers to is "unavailable.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      The drive or network connection that the shortcut foo.lnk refers to is unavailable. Make sure that the disk is properly inserted or the network resource is available, and then try again.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Use display fileChooser of SwingSet2
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Use previous JDK
      (Incident Review ID: 277147)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              leifs Leif Samuelsson (Inactive)
              Reporter:
              jssunw Jitender S (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: