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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Jason Kealey,
  • via Unknown by Jason Kealey,
  • Stack trace

    • 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(SegmentInfosinfos)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.