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 175035 - [68cat] Exception after Commit of an File (File is locked)
Summary: [68cat] Exception after Commit of an File (File is locked)
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 17:26 UTC by stefan79
Modified: 2010-07-30 09:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
It happened again. (4.41 MB, application/octet-stream)
2009-11-19 10:33 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2009-10-20 17:26:15 UTC
[ BUILD # : 200910170201 ]
[ JDK VERSION : 1.6.* ]

After a Commit of a File, the following Exception occured.
The File is locked by an other user.
I know this message from previous NB-Versions.


Caused: java.io.FileNotFoundException: E:\Entwicklung65\src\projekte\Kassa\KassaPruefung\KassaPruefungLogic.java (Der
Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj$2.<init>(FileObj.java:161)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:161)
Caused: java.io.FileNotFoundException
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:186)
        at org.openide.text.DataEditorSupport$Env.inputStream(DataEditorSupport.java:781)
        at org.openide.text.CloneableEditorSupport.loadDocument(CloneableEditorSupport.java:2117)
        at org.openide.text.CloneableEditorSupport.access$2900(CloneableEditorSupport.java:123)
        at org.openide.text.CloneableEditorSupport$Listener.run(CloneableEditorSupport.java:2947)
Caused: org.openide.text.CloneableEditorSupport$DelegateIOExc: java.io.FileNotFoundException:
E:\Entwicklung65\src\projekte\Kassa\KassaPruefung\KassaPruefungLogic.java (Der Prozess kann nicht auf die Datei
zugreifen, da sie von einem anderen Prozess verwendet wird)
        at org.openide.text.CloneableEditorSupport$Listener.run(CloneableEditorSupport.java:2950)
        at org.openide.util.Task.run(Task.java:245)
        at org.openide.text.CloneableEditorSupport$5$1Query.call(CloneableEditorSupport.java:1682)
        at org.openide.text.CloneableEditorSupport$5.run(CloneableEditorSupport.java:1694)
        at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:324)
        at org.openide.text.NbDocument.runAtomic(NbDocument.java:411)
        at org.openide.text.CloneableEditorSupport.reloadDocument(CloneableEditorSupport.java:1640)
        at org.openide.text.CloneableEditorSupport.checkReload(CloneableEditorSupport.java:2277)
        at org.openide.text.CloneableEditorSupport.access$2700(CloneableEditorSupport.java:123)
        at org.openide.text.CloneableEditorSupport$Listener$1.run(CloneableEditorSupport.java:2913)
        at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:324)
        at org.openide.text.NbDocument.runAtomic(NbDocument.java:411)
        at org.openide.text.CloneableEditorSupport$Listener$1.run(CloneableEditorSupport.java:2905)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:117)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
ALLE [null]: java.io.FileNotFoundException: E:\Entwicklung65\src\projekte\Kassa\KassaPruefung\KassaPruefungLogic.java
(Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird)
Comment 1 stefan79 2009-11-19 10:33:05 UTC
Created attachment 91371 [details]
It happened again.

Scanning Projects and a Debug-Session was running. Maybe one of them (i think Scanning projects) locks the file.

-
Product Version: NetBeans IDE Dev (Build 200911161401)
Java: 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01
System: Windows XP version 5.1 running on x86; Cp1252; de_AT (nb)