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 196926 - org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@C:\Users\Dallstar\.netbeans\7.0beta2\var\cache\index\s1\php\16\1\nb-lock-write.lock
Summary: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: Nat...
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.0
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 15:51 UTC by dallstar
Modified: 2011-06-30 07:35 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177585


Attachments
stacktrace (3.83 KB, text/plain)
2011-03-21 15:51 UTC, dallstar
Details
stacktrace (3.90 KB, text/plain)
2011-03-24 18:51 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dallstar 2011-03-21 15:51:42 UTC
This bug was originally marked as duplicate of bug 193156, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
dallstar: Doing search inside project.




Stacktrace: 
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@C:\Users\Dallstar\.netbeans\7.0beta2\var\cache\index\s1\php\16\1\nb-lock-write.lock
   at org.apache.lucene.store.Lock.obtain(Lock.java:84)
   at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1066)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:888)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getWriter(LuceneIndex.java:688)
   at org.netbeans.modules.parsing.lucene.LuceneIndex._store(LuceneIndex.java:318)
   at org.netbeans.modules.parsing.lucene.LuceneIndex.access$200(LuceneIndex.java:103)
Comment 1 dallstar 2011-03-21 15:51:46 UTC
Created attachment 107155 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-03-22 15:40:16 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=177585
Comment 3 Exceptions Reporter 2011-03-24 18:51:58 UTC
Created attachment 107257 [details]
stacktrace
Comment 4 Exceptions Reporter 2011-06-18 10:32:18 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=177585
Comment 5 Marian Mirilovic 2011-06-22 06:34:41 UTC
53 duplicates ... P1
Comment 6 Tomas Zezula 2011-06-22 13:15:42 UTC
Please provide the userdir/var/cache/s*/ folder.
Comment 7 iggylike 2011-06-22 13:46:34 UTC
(In reply to comment #6)
> Please provide the userdir/var/cache/s*/ folder.

I'm on win7. In userdir\.netbeans\7.0\var\cache\ i have only svncache empty folder
Comment 8 Tomas Zezula 2011-06-22 14:01:45 UTC
Sorry, the path should be ${nb.userdir}/var/cache/index/s*
The path is also printed in the exception, like:
NativeFSLock@C:\Users\Dallstar\.netbeans\7.0beta2\var\cache\index\s1\php\16\1\nb-lock-write.lock

the content of the folder C:\Users\Dallstar\.netbeans\7.0beta2\var\cache\index\s1 is important for me.
Thanks!
Comment 9 Marian Mirilovic 2011-06-30 07:35:32 UTC
(In reply to comment #8)
> the content of the folder
> C:\Users\Dallstar\.netbeans\7.0beta2\var\cache\index\s1 is important for me.

Without such data we can do anything - removing the bug from the list of 'to be fixed in 7.0.1'