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.
[200212170100] File AllreadyLockedException when I tried to delete java file from project. The java file was edited in In editor. The source in editor was changed and unsaved. It doesn't seem as problem delete action on JavaDataObject. It can be problem in editor. Please evaluate.
Created attachment 8366 [details] exception
The exception is caused due to "behaviour" of the DataEditorSupport. The DataEditorSupport holds a lock from the call of markModified method to call of unmarkModified method. The same holds for the rename operation. This can be fixed in the JavaEditor, by refactoring takeLock method in JavaEditor.Env.
Fixed by using lock from MultiDataObject.Entry rather then from FileObject in the JavaEditor.Env
Reporter, could you verify this bug? Thanks
hm, no file is locked but after delete NPE exception thrown.
Created attachment 9199 [details] exception stacktrace
Seems that new problem occuder, now in the SourcesLook and CompilationUnit.
*** This issue has been marked as a duplicate of 30958 ***
verified
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as CLOSED.