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.

Bug 35801

Summary: Lock problem when saving +/i time when Synchronize dialog auto-opening
Product: platform Reporter: _ tboudreau <tboudreau>
Component: FilesystemsAssignee: rmatous <rmatous>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: Other   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description _ tboudreau 2003-08-27 14:58:50 UTC
I created a file, and was editing an inner class of it, when the synchronize dialog 
popped up.  It now pops up whenever I try to save. 
 
Perhaps related to Jesse's threading changes? 
 
Annotation: There were some problems while saving fireChange. 
Annotation: Invalid lock [org.openide.filesystems.MultiFileObject$MfLock@acacc3] for 
file org/openide/status/impl/StatusManagerImpl.java in openide/src/ in CVS 
/space/work/nbsrc with current lock [null]. 
org.openide.filesystems.FSException: Invalid lock 
[org.openide.filesystems.MultiFileObject$MfLock@acacc3] for file 
org/openide/status/impl/StatusManagerImpl.java in openide/src/ in CVS 
/space/work/nbsrc with current lock [null]. 
        at org.openide.filesystems.FSException.io(FSException.java:100) 
        at org.openide.filesystems.MultiFileObject.testLock(MultiFileObject.java:526) 
        at 
org.openide.filesystems.MultiFileObject.getOutputStream(MultiFileObject.java:485) 
        at 
org.openide.text.DataEditorSupport$Env.outputStream(DataEditorSupport.java:386) 
        at 
org.openide.text.CloneableEditorSupport.saveDocument(CloneableEditorSupport.java:512) 
        at org.openide.text.DataEditorSupport.saveDocument(DataEditorSupport.java:265) 
        at 
org.openide.text.EditorSupport$Del.superSaveDocument(EditorSupport.java:694) 
        at org.openide.text.EditorSupport.saveDocument(EditorSupport.java:224) 
        at org.netbeans.modules.java.JavaEditor.saveDocument(JavaEditor.java:421) 
        at org.netbeans.modules.java.JavaEditor.saveDocument(JavaEditor.java:403) 
        at org.openide.text.EditorSupport$EntryEnv.save(EditorSupport.java:816) 
[catch] at org.openide.actions.SaveAction.performAction(SaveAction.java:45) 
        at 
org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:431) 
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97) 
        at org.openide.util.Task.run(Task.java:136) 
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) 
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:677)
Comment 1 rmatous 2003-09-01 09:30:37 UTC
Marked as duplicate.

*** This issue has been marked as a duplicate of 35505 ***
Comment 2 Marian Mirilovic 2003-09-03 17:11:03 UTC
verifying duplication