This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If you perform copy/paste operation on the same node (and this node hasn't been expanded yet) the folder will be pasted recursively until the exception (see attachements) occurs. How to reproduce: (Win2000 JDK1.3) ---------------------- 1. Start a dev build [29.11] 2. Expand sampledir (DO NOT expand examples) 3. Perform Copy action on examples via popup 4. Perform Paste action on examples
Created attachment 3614 [details] stacktrace
Created attachment 3617 [details] java.io.IOException: Cannot create a file when that file already exists
Created attachment 3619 [details] java.io.IOException: There are no more files
Created attachment 3620 [details] org.openide.filesystems.FSException: Cannot create folder colorpicker in C:\Mato\2911\bin\mato\sampledir. (next exceptions for other folders are the same)
Problem is in DataFolder.handleCopy. Added diff and reassigned to loaders. cvs server: Diffing . Index: DataFolder.java =================================================================== RCS file: /cvs/openide/src/org/openide/loaders/DataFolder.java,v retrieving revision 1.117.12.1 diff -r1.117.12.1 DataFolder.java 537,538d536 < DataFolder newFolder = (DataFolder)super.handleCopy (f); < 539a538 > DataFolder newFolder = (DataFolder)super.handleCopy (f);
The proposed patch applied. Marking as 3.3.0_CANDIDATE.
Integrated in release330 branch as well.
verified in [nb_release330](200112102331) & [nb_release33](200112110331)
Resolved for 3.4.x or earlier, no new info since then -> closing.