JDK-4925774 : Renaming file or directory in FileDialog can cause a Runtime error
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.3.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-09-20
  • Updated: 2003-09-23
  • Resolved: 2003-09-23
Related Reports
Duplicate :  
Description

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) 
======================================================================

Comments
EVALUATION Name: atR10251 Date: 09/23/2003 This bug is a duplicate of 4906972. ###@###.### 2003-09-23 ======================================================================
23-09-2003