System.IndexOutOfRangeException: Index of bound 0 at Lucene.Net.Util.BitVector.GetAndSet(Int32 bit) in d:\Lucene.Net\FullRepo\trunk\src\core\Util\BitVector.cs:line 85 at Lucene.Net.Index.SegmentReader.DoDelete(Int32 docNum) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\SegmentReader.cs:line 1143 at Lucene.Net.Index.IndexReader.DeleteDocument(Int32 docNum) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\IndexReader.cs:line 985 at Lucene.Net.Index.DocumentsWriter.ApplyDeletes(IndexReader reader, Int32 docIDStart) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\DocumentsWriter.cs:line 1360

lucenenet-user | Jason Kealey | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Known bug?

    lucenenet-user | 3 years ago | Jason Kealey
    System.IndexOutOfRangeException: Index of bound 0 at Lucene.Net.Util.BitVector.GetAndSet(Int32 bit) in d:\Lucene.Net\FullRepo\trunk\src\core\Util\BitVector.cs:line 85 at Lucene.Net.Index.SegmentReader.DoDelete(Int32 docNum) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\SegmentReader.cs:line 1143 at Lucene.Net.Index.IndexReader.DeleteDocument(Int32 docNum) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\IndexReader.cs:line 985 at Lucene.Net.Index.DocumentsWriter.ApplyDeletes(IndexReader reader, Int32 docIDStart) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\DocumentsWriter.cs:line 1360
  2. 0

    Known bug?

    lucenenet-user | 3 years ago | Jason Kealey
    System.IndexOutOfRangeException: Index of bound 0 at Lucene.Net.Util.BitVector.GetAndSet(Int32 bit) in d:\Lucene.Net\FullRepo\trunk\src\core\Util\BitVector.cs:line 85 at Lucene.Net.Index.SegmentReader.DoDelete(Int32 docNum) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\SegmentReader.cs:line 1143 at Lucene.Net.Index.IndexReader.DeleteDocument(Int32 docNum) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\IndexReader.cs:line 985 at Lucene.Net.Index.DocumentsWriter.ApplyDeletes(IndexReader reader, Int32 docIDStart) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\DocumentsWriter.cs:line 1360

    Root Cause Analysis

    1. System.IndexOutOfRangeException

      Index of bound 0 at Lucene.Net.Util.BitVector.GetAndSet(Int32 bit) in d:\Lucene.Net\FullRepo\trunk\src\core\Util\BitVector.cs:line 85 at Lucene.Net.Index.SegmentReader.DoDelete(Int32 docNum) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\SegmentReader.cs:line 1143 at Lucene.Net.Index.IndexReader.DeleteDocument(Int32 docNum) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\IndexReader.cs:line 985 at Lucene.Net.Index.DocumentsWriter.ApplyDeletes(IndexReader reader, Int32 docIDStart) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\DocumentsWriter.cs:line 1360

      at Lucene.Net.Index.DocumentsWriter.ApplyDeletes()
    2. Lucene.Net.Index
      DocumentsWriter.ApplyDeletes
      1. Lucene.Net.Index.DocumentsWriter.ApplyDeletes(SegmentInfosinfos)
      1 frame