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 178673 - java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/home/jglick/nbdev/var/cache/index/s3511/java/14/refs: files:
Summary: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.s...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 181332 215985 218864 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-15 10:29 UTC by Jesse Glick
Modified: 2012-10-16 00:57 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151048


Attachments
stacktrace (2.48 KB, text/plain)
2009-12-15 10:29 UTC, Jesse Glick
Details
stacktrace (4.84 KB, text/plain)
2009-12-20 15:20 UTC, stopd
Details
stacktrace (2.48 KB, text/plain)
2010-01-11 08:01 UTC, gtg
Details
stacktrace (2.49 KB, text/plain)
2010-03-11 02:35 UTC, Egor Ushakov
Details
stacktrace (2.62 KB, text/plain)
2010-03-11 15:19 UTC, Alexander Simon
Details
stacktrace (2.49 KB, text/plain)
2010-03-12 05:47 UTC, Egor Ushakov
Details
stacktrace (2.19 KB, text/plain)
2010-03-22 22:22 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-12-15 10:29:20 UTC
Build: NetBeans IDE Dev (Build 091214-b315a3f9b0c2)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Linux, 2.6.31-16-generic, i386

User Comments:
ccronemberger: I was opening the Central Repository in the Maven browser

jglick: Messing around with NBM and j2se project metadata, too complicated to explain.



Stacktrace: 
java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/home/jglick/nbdev/var/cache/index/s3511/java/14/refs: files:
   at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604)
   at org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:115)
   at org.apache.lucene.index.IndexReader.open(IndexReader.java:316)
   at org.apache.lucene.index.IndexReader.open(IndexReader.java:227)
   at org.netbeans.modules.java.source.usages.LuceneIndex.getReader(LuceneIndex.java:1031)
   at org.netbeans.modules.java.source.usages.LuceneIndex.getDeclaredTypes(LuceneIndex.java:227)
Comment 1 Jesse Glick 2009-12-15 10:29:25 UTC
Created attachment 92622 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-12-18 09:10:38 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=151048
Comment 3 stopd 2009-12-20 15:20:52 UTC
Created attachment 92802 [details]
stacktrace
Comment 4 Tomas Zezula 2009-12-21 04:29:22 UTC
Jesse, can you look into var/caches/index/segments file if the s3511 is cache for a source root or binary root (jar|classes folder)?
Thanks
Comment 5 Jesse Glick 2009-12-21 10:34:31 UTC
s3511=jar\:file\:/space/src/nb/shakespeareannotater/ShakesLibs/release/modules/ext/ShakesGroovy.jar\!/

IIRC I had recently changed this from a "fixed" (versioned) JAR to be the ${dist.jar} of a j2seproject.
Comment 6 Tomas Zezula 2009-12-21 12:55:22 UTC
Thanks Jesse.
Comment 7 gtg 2010-01-11 08:01:08 UTC
Created attachment 93185 [details]
stacktrace
Comment 8 Exceptions Reporter 2010-01-15 10:59:47 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=151048
Comment 9 Tomas Zezula 2010-01-18 10:42:40 UTC
Fixed in jet-main: d80116b03085
Comment 10 Quality Engineering 2010-01-24 08:42:09 UTC
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/d80116b03085
User: Tomas Zezula <tzezula@netbeans.org>
Log: #178673:java.io.FileNotFoundException: no segments
Comment 11 Egor Ushakov 2010-03-11 02:35:06 UTC
Created attachment 95027 [details]
stacktrace
Comment 12 Alexander Simon 2010-03-11 15:19:26 UTC
Created attachment 95068 [details]
stacktrace
Comment 13 Egor Ushakov 2010-03-12 05:47:44 UTC
Created attachment 95084 [details]
stacktrace
Comment 14 Jesse Glick 2010-03-22 22:22:42 UTC
Created attachment 95570 [details]
stacktrace
Comment 15 Tomas Zezula 2010-03-24 15:05:48 UTC
Fixed in jet-main 9932ae440dc1
Comment 16 Quality Engineering 2010-03-25 05:55:58 UTC
Integrated into 'main-golden', will be available in build *201003250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9932ae440dc1
User: Tomas Zezula <tzezula@netbeans.org>
Log: #178673:java.io.FileNotFoundException: no segments* file found
Comment 17 Tomas Zezula 2010-03-29 13:28:52 UTC
*** Bug 181332 has been marked as a duplicate of this bug. ***
Comment 18 Jan Lahoda 2012-08-20 16:32:15 UTC
*** Bug 215985 has been marked as a duplicate of this bug. ***
Comment 19 Jan Lahoda 2012-10-16 00:57:56 UTC
*** Bug 218864 has been marked as a duplicate of this bug. ***