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.
NetBeans IDE Dev (Build 061212) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 Linux version 2.6.9-1.667 running on i386 en_US (nb); UTF-8 Steps: 1. Open file, modify and save it. 2. Modify the same file but don't save it for now. 3. Select it and invoke "Local History | Show Local History" action on it. 4. Expand "Today" node and select some revision and invoke "Rollback from History" action. Exception is thrown. org.openide.filesystems.FileAlreadyLockedException: home.local/pvcs/test/lh/JavaAppLocalHistory/src/javaapplocalhistory/NewClass2.java at org.netbeans.modules.masterfs.Delegate.lock(Delegate.java:175) at org.netbeans.modules.masterfs.MasterFileObject.lock(MasterFileObject.java:165) at org.openide.filesystems.FileObject.getOutputStream(FileObject.java:495) at org.netbeans.modules.localhistory.ui.actions.RollbackAction.getOutputStream(RollbackAction.java:84)
Created attachment 36608 [details] FileAlreadyLockedException
fixed Checking in RollbackAction.java; /cvs/versioncontrol/localhistory/src/org/netbeans/modules/localhistory/ui/actions/Attic/RollbackAction.java,v <-- RollbackAction.java new revision: 1.1.2.5; previous revision: 1.1.2.4 done
Same scenario fails with IllegalArgumentException.
Created attachment 36801 [details] IllegalArgumentException
1. the attached exception is a filenotfoundexception 2. could not reproduce on linux and windows please try an actual build and feel free to reopen
Verified.
Reassigning localhistory issues to appropriate component.