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.
Build 200508311800 1) Have a project with opened file (and/or modified) 2) Rename/Move project 3) ERRORs: E1 - Exception appears - see attachment E2 - Project is closed E3 - Original project is not fully deleted E4 - There's no warning message that some files couldn't be deleted
Created attachment 24458 [details] org.openide.filesystems.FileAlreadyLockedException: D:\NetBeans at org.netbeans.modules.masterfs.filebasedfs.fileobjects.WriteLock.getInstance(WriteLock.java:107)
Probably duplicate of issue 63237? Although it does not cover E4 - no warning message when some files can't be deleted.
First of all, although it may seem that the exception is thrown before the project is closed, the project is closed before the exception occurs. So I think E2 is not a bug. E3 is derived from E1 (and may happen for various reasons). E1 may (or may not) be duplicate of issue #63237. Main problem IMO is in E4: the exception should be processed, a user friendly dialog should be shown and (ideally) the moved project should be opened.
Changing the summary to cover E4.
Fixed in trunk: Checking in src/org/netbeans/modules/project/uiapi/Bundle.properties; /cvs/projects/projectuiapi/src/org/netbeans/modules/project/uiapi/Bundle.properties,v <-- Bundle.properties new revision: 1.9; previous revision: 1.8 done Checking in src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementation.java; /cvs/projects/projectuiapi/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementation.java,v <-- DefaultProjectOperationsImplementation.java new revision: 1.13; previous revision: 1.12 done Checking in test/unit/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementationTest.java; /cvs/projects/projectuiapi/test/unit/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementationTest.java,v <-- DefaultProjectOperationsImplementationTest.java new revision: 1.6; previous revision: 1.5 done