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 251635 - org.apache.lucene.index.CorruptIndexException: doc counts differ for segment _vu: fieldsReader shows 46546 but segmentInfo shows 2497
Summary: org.apache.lucene.index.CorruptIndexException: doc counts differ for segment ...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-03 13:13 UTC by eretico
Modified: 2018-02-26 17:59 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200607


Attachments
stacktrace (5.38 KB, text/plain)
2015-04-03 13:13 UTC, eretico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eretico 2015-04-03 13:13:47 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Linux

User Comments:
GUEST: org.apache.lucene.index.CorruptIndexException: doc counts differ for segment _5: fieldsReader shows 52336 but segmentInfo shows 1

GUEST: org.apache.lucene.index.CorruptIndexException: doc counts differ for segment _5: fieldsReader shows 52336 but segmentInfo shows 1

GUEST: Copied some files from one maven project to a new one

GUEST: Trying to ctrl+alt+click to navigate to implementation of interface method.

GUEST: Just Happened...

GUEST: Always at Netbeans start

eretico: -

GUEST: This occurs whenever I start up netbeans.

Using Linux 14.04




Stacktrace: 
org.apache.lucene.index.CorruptIndexException: doc counts differ for segment _vu: fieldsReader shows 46546 but segmentInfo shows 2497
   at org.apache.lucene.index.SegmentCoreReaders.openDocStores(SegmentCoreReaders.java:217)
   at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:117)
   at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:93)
   at org.apache.lucene.index.DirectoryReader.<init>(DirectoryReader.java:113)
   at org.apache.lucene.index.ReadOnlyDirectoryReader.<init>(ReadOnlyDirectoryReader.java:29)
   at org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:81)
Comment 1 eretico 2015-04-03 13:13:49 UTC
Created attachment 153028 [details]
stacktrace