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 214538 - org.netbeans.modules.parsing.lucene.support.Index$IndexClosedException at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.checkPreconditions
Summary: org.netbeans.modules.parsing.lucene.support.Index$IndexClosedException at org...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 220572 221192 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-20 21:32 UTC by Exceptions Reporter
Modified: 2012-11-26 14:23 UTC (History)
18 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185902


Attachments
stacktrace (3.85 KB, text/plain)
2012-06-20 21:32 UTC, Exceptions Reporter
Details
stacktrace (2.25 KB, text/plain)
2012-06-26 20:20 UTC, aljsteiner
Details
stacktrace (4.20 KB, text/plain)
2012-11-12 19:41 UTC, Maksim Khramov
Details
stacktrace (1.94 KB, text/plain)
2012-11-20 19:01 UTC, host
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-20 21:32:34 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows 7

User Comments:
fedind: Scanning Maven-Web project stopped at 98%.

GUEST: I have no idea what the problem is. The project is on a CIFS share (samba 3.x on debian) accessed from windows 7. Same setup worked fine with 7.01

lhochet: this fails autocompletion
eg:
list.add(new El|);




Stacktrace: 
org.netbeans.modules.parsing.lucene.support.Index$IndexClosedException
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.checkPreconditions(LuceneIndex.java:981)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:863)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:845)
   at org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:162)
   at org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:252)
   at org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:127)
Comment 1 Exceptions Reporter 2012-06-20 21:32:38 UTC
Created attachment 121126 [details]
stacktrace
Comment 2 Milutin Kristofic 2012-06-25 13:43:33 UTC
Tomas, can you please look on this one.
Comment 3 Tomas Zezula 2012-06-25 14:22:25 UTC
The index was already closed.
Did you do IDE Exit (with cancel) or close and reopen some project?
Some steps to reproduce?
Thanks
Comment 4 aljsteiner 2012-06-26 20:20:04 UTC
Created attachment 121409 [details]
stacktrace
Comment 5 Marian Mirilovic 2012-10-24 11:13:42 UTC
*** Bug 220572 has been marked as a duplicate of this bug. ***
Comment 6 Marian Mirilovic 2012-10-24 11:32:08 UTC
We've got another report from NB 7.3 - issue 220572
-----------------
Opened the "Go to Type" dialog and started typing
-----------------

Tomasi, can we add some logging ? 

BTW: I am not able to reproduce it in 
Product Version: NetBeans IDE Dev (Build 201210240001)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-32-generic running on i386; UTF-8; en_US (nb)
Comment 7 Marian Mirilovic 2012-11-01 08:02:17 UTC
*** Bug 221192 has been marked as a duplicate of this bug. ***
Comment 8 Marian Mirilovic 2012-11-01 08:03:25 UTC
Getting more and more from NB 7.3, 44 dups overall -> P2
Comment 9 Maksim Khramov 2012-11-12 19:41:33 UTC
Created attachment 127663 [details]
stacktrace
Comment 10 Tomas Zezula 2012-11-20 16:29:50 UTC
See comment #3.
Comment 11 host 2012-11-20 19:01:36 UTC
Created attachment 128163 [details]
stacktrace
Comment 12 Tomas Zezula 2012-11-21 17:27:13 UTC
Fixed jet-main 1f8767482fc5
Thank you for cooperation.
Comment 13 Quality Engineering 2012-11-24 13:11:13 UTC
Integrated into 'main-golden', will be available in build *201211240959* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1f8767482fc5
User: Tomas Zezula <tzezula@netbeans.org>
Log: #214538:org.netbeans.modules.parsing.lucene.support.Index$IndexClosedException at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.checkPreconditions