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.
In the explorer: - copy from the local menu over a .gif file - paste it in another directory => IOException (unreproducible)
Created attachment 16135 [details] Stack trace
java.io.IOException: VCS file Continue.gif already exists in CVS C:\tasklist\trunk. at org.netbeans.modules.vcscore.VcsFileSystem.createData(VcsFileSystem.java:3638) at org.openide.filesystems.AbstractFileObject.createData(AbstractFileObject.java:388) at org.openide.filesystems.FileUtil.copyFileImpl(FileUtil.java:62)
This seems to be a problem of the process that is performing the copy, it should handle the existing files. The VcsFileSystem can not do anything with it, the file simply can not be created. The steps how to reproduce this would be valuable, but since you wrote that it's unreproducible, it might be that the files are not fully refreshed or something like that. Moving to openide/filesystems for evaluation.
If its unreproducible I can't say nothing more than it can be probably caused by: - race condition: such file was created by other thread after checking that such file didn't exist and then its creation failed - bugy impl. of VcsFileSystem or MasterFS Reassigned back.
I do not see how this can be a bug of VcsFileSystem. When File.createNewFile () returns false, I can not do anything with it. If it's a race condition, it's ouside of VcsFileSystem, I do not have any sychronization. Resolving as worksforme, because without reproducible steps we're apparently unable to find the problem.
ok