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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via lucenenet-user by Jason Kealey, 1 year ago
\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
via lucenenet-user by Jason Kealey, 1 year ago
\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
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.