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.
After several Refactoring, Apply Design Pattern and Undo operations in Design View for newLoanApplication schema, I got FileAlreadyLockedException. See log for details.
Created attachment 55153 [details] Exception log
Will try to find exact scenario to reproduce
Scenario: 1. Create newLoanApplication schema. 2. Switch to Design View. 3. Rename some field inline (select field, press F2, enter new name, press Enter). 4. Refactor -> Undo. 5. Apply Garden of Eden design pattern. 5. Refactor -> Redo.
I use the BackupFacility provided by core Refactoring API to do undo/redo. The stack trace shows the exception is from BackupFacility -it is unable to restore the file. Transferring to the refactoring team so that they can evaluate.
You cannot call restore on locked files.
*** Issue 129373 has been marked as a duplicate of this issue. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss