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.
This issue was originally marked as duplicate of issue 173562, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE 6.8 Beta (Build 200910212001) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Windows 7, 6.1, x86 User Comments: rafael_sc: creating divs on oho module Stacktrace: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@C:\Users\Rafael Costa\.netbeans\6.8beta\var\cache\index\s2\javascript\8\1\nb-lock-write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1070) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:686) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex.flush(LuceneIndex.java:598) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex.access$700(LuceneIndex.java:87) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex$1.run(LuceneIndex.java:162)
Created attachment 90232 [details] stacktrace
This issue already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=161170
Umm, interesting, first there was: org.apache.lucene.store.LockReleaseFailedException: failed to delete C:\Users\Rafael Costa\.netbeans\6.8beta\var\cache\index\s2\javascript\8\1\nb-lock-write.lock at org.apache.lucene.store.SimpleFSLock.release(SimpleFSLockFactory.java:149) at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1668) at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1602) at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1578) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex.flush(LuceneIndex.java:654) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex.access$700(LuceneIndex.java:87) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex$1.run(LuceneIndex.java:162) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex$1.run(LuceneIndex.java:142) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndexManager.writeAccess(LuceneIndexManager.java:72) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex.store(LuceneIndex.java:142) at org.netbeans.modules.parsing.spi.indexing.support.IndexingSupport$MyAccessor.store(IndexingSupport.java:239) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.delete(RepositoryUpdater.java:1529) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$DeleteWork.getDone(RepositoryUpdater.java:2113) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:1884) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:3355) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:3297) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:574) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [catch] at java.lang.Thread.run(Thread.java:619) ... later on followed by: Caused: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@C:\Users\Rafael Costa\.netbeans\6.8beta\var\cache\index\s2\javascript\8\1\nb-lock-write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1070) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:686) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex.flush(LuceneIndex.java:598) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex.access$700(LuceneIndex.java:87) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex$1.run(LuceneIndex.java:162) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex$1.run(LuceneIndex.java:142) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndexManager.writeAccess(LuceneIndexManager.java:72) at org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndex.store(LuceneIndex.java:142) at org.netbeans.modules.parsing.spi.indexing.support.IndexingSupport$MyAccessor.store(IndexingSupport.java:239) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:1661) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:1838) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:2016) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:1884) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:3355) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:3297) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:574) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [catch] at java.lang.Thread.run(Thread.java:619) I'm not sure why the first exception was thrown. It could have been thrown if the indexed hadn't been locked, but the second exception indicates that this was not the case.
Created attachment 90651 [details] stacktrace
Created attachment 91152 [details] stacktrace
Created attachment 91423 [details] stacktrace
Created attachment 92567 [details] stacktrace Occurs immediately after opening Netbeans
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=161170
I'll have a look. It's not that dramatic, there were many exceptions in 6.8beta -> P2.
Created attachment 92780 [details] stacktrace Changing task filter to show only TODO
Created attachment 92783 [details] stacktrace I was replacing part of JavaScript embedded in html template.
Created attachment 92973 [details] stacktrace Starting IDE
Created attachment 93076 [details] stacktrace Opening the IDE
Created attachment 93082 [details] stacktrace I had just added a dependency to a Maven POM file.
Created attachment 93268 [details] stacktrace Trying to open a project
http://hg.netbeans.org/jet-main/rev/af5652e5fab5 http://hg.netbeans.org/jet-main/rev/7b41ec0bc730
Integrated into 'main-golden', will be available in build *201001240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/af5652e5fab5 User: Vita Stejskal <vstejskal@netbeans.org> Log: #175702: perform index consistency checks at the beginning of a source root scan