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

Renaming file or directory in FileDialog can cause a Runtime error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.1
    • client-libs
    • x86
    • windows_xp



      Name: gm110360 Date: 09/20/2003


      FULL PRODUCT VERSION :
      Java (TM) Plug-in: Version 1.3.1_03
      Using JRE 1.3.1_03 Java HotSpot (TM) VM

      FULL OPERATING SYSTEM VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Clicking the "Open/Save" or "Cancel" button before
      completing the renaming of a file or directory in the Save
      FileDialog window causes a Runtime error resulting in the
      calling application exiting.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Open a Save FileDialog.
      2. Click on any file or directory to enable the Rename
      functionality.
      3. Click the "Open/Save" or "Cancel" button (while the
      Rename is still enabled).

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Expected: Either Open the directory or Save the file, or
      present an appropriate error message.

      Actual: The calling application exits with a Runtime error.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      1. If run in an IDE (JBuilder) a dialog is presented with the following error:
      Microsoft Visual C++ Runtiime Library
        Program: D:\JBuilder4\jdk1.3\bin\javaw.exe
      This application has requested the runtime to terminate in an unusual way.

      2. If the application is run in the JRE the application and JRE terminate
      without generating any error messages.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Any application calling java.awt.FileDialog on the XP platform can reproduce
      this problem by following the steps above.
      ---------- END SOURCE ----------
      (Incident Review ID: 158366)
      ======================================================================

            ant Anton Tarasov (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: