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 208517

Summary: [71cat] org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@Z:\Users\RingCube\.netbeans\7.2Dev\var\cache\index\s319\java\14\refs\nb-lock-write.lock
Product: editor Reporter: javydreamercsw <javydreamercsw>
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: 280Z28, athompson, jaras2678, marfous, mjanicek, sreimers, stefan79, vgomes01, vriha
Priority: P2    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 185144
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description javydreamercsw 2012-02-16 14:49:27 UTC
Build: NetBeans IDE Dev (Build 201202140400)
VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows 7

User Comments:
javydreamercsw: During file modification (saving)

mjanicek: Trying to get code completion for groovy class type.




Stacktrace: 
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@Z:\Users\RingCube\.netbeans\7.2Dev\var\cache\index\s319\java\14\refs\nb-lock-write.lock
   at org.apache.lucene.store.Lock.obtain(Lock.java:84)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1108)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$FlushIndexWriter.<init>(LuceneIndex.java:1027)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireWriter(LuceneIndex.java:762)
   at org.netbeans.modules.parsing.lucene.LuceneIndex._doStore(LuceneIndex.java:351)
   at org.netbeans.modules.parsing.lucene.LuceneIndex.txStore(LuceneIndex.java:331)
Comment 1 javydreamercsw 2012-02-16 14:49:29 UTC
Created attachment 115825 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-02-24 21:14:46 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=185144
Comment 3 vgomes01 2012-03-04 13:58:09 UTC
Created attachment 116325 [details]
stacktrace
Comment 4 Exceptions Reporter 2012-03-06 09:08:14 UTC
Created attachment 116376 [details]
stacktrace
Comment 5 Exceptions Reporter 2012-03-10 09:32:15 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=185144
Comment 6 Martin Fousek 2012-03-17 14:23:16 UTC
Created attachment 116820 [details]
stacktrace

inside PHP editor
Comment 7 Vladimir Riha 2012-03-19 09:32:15 UTC
Created attachment 116853 [details]
stacktrace

Pasting text & saving php file
Comment 8 stefan79 2012-03-22 17:49:15 UTC
Created attachment 117105 [details]
stacktrace

Exception occured after some other exception
Comment 9 Exceptions Reporter 2012-03-22 17:49:33 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=185144
Comment 10 stefan79 2012-03-22 18:01:15 UTC
Created attachment 117109 [details]
stacktrace
Comment 11 stefan79 2012-03-22 18:04:16 UTC
Created attachment 117110 [details]
stacktrace
Comment 12 Tomas Zezula 2012-04-16 12:11:32 UTC
Fixed jet-main a1ea3a53e1b2, bf3be3cbd635
As it may be a consequence of other issue added logging jet-main 21cfda465a87
Comment 13 Tomas Zezula 2012-04-16 13:59:12 UTC
One more jet-main 833d80fa72f9
Comment 14 Quality Engineering 2012-04-18 21:26:35 UTC
Integrated into 'main-golden', will be available in build *201204181547* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/21cfda465a87
User: Tomas Zezula <tzezula@netbeans.org>
Log: #208517:org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@Z:\Users\RingCube\.netbeans\7.2Dev\var\cache\index\s319\java\14\refs\nb-lock-write.lock