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 193156

Summary: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/obalyuk/.netbeans/dev/var/cache/index/s4/org-netbeans-modules-jumpto-file-FileIndexer/1/1/nb-lock-write.loc
Product: editor Reporter: obalyuk <obalyuk>
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: mmirilovic, twistedmind
Priority: P3 Keywords: JDK_SPECIFIC
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 174143
Attachments: stacktrace

Description obalyuk 2010-12-09 14:11:51 UTC
Build: NetBeans IDE Dev (Build 201012060001)
VM: OpenJDK Client VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

User Comments:
obalyuk: started up netbeans with 2 php projects open... error happened on stratup.

GUEST: renamed a file name, no files open




Stacktrace: 
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/obalyuk/.netbeans/dev/var/cache/index/s4/org-netbeans-modules-jumpto-file-FileIndexer/1/1/nb-lock-write.lock
   at org.apache.lucene.store.Lock.obtain(Lock.java:85)
   at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1565)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1093)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getWriter(LuceneIndex.java:683)
   at org.netbeans.modules.parsing.lucene.LuceneIndex._store(LuceneIndex.java:309)
   at org.netbeans.modules.parsing.lucene.LuceneIndex.access$200(LuceneIndex.java:100)
Comment 1 obalyuk 2010-12-09 14:11:55 UTC
Created attachment 103867 [details]
stacktrace
Comment 2 Tomas Zezula 2010-12-09 17:58:57 UTC
The class was replaced in NB 7.0 by common lucene index, jet-main e8f93be3c8c6