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 | 2 years ago
  1. 0

    Known bug?

    lucenenet-user | 2 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 | 2 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
  3. 0

    Index was outside the bounds of the array.

    YouTrack | 9 years ago
    System.IndexOutOfRangeException: Index was outside the bounds of the array. at JetBrains.dotTrace.SnapShot.Memory.ObjectGraph.Impl.Graph.OutgoingNode(Handle node, Int32 n) in C:\Agent\work\Server\dotTrace-Main\src\SnapShot.Memory\src\ObjectGraph\Impl\Graph.cs:line 442 at JetBrains.dotTrace.ViewControls.Memory.OutgoingByObjectsTreeView.TreeStructure.BuildDataHolders(DataHolder item) in C:\Agent\work\Server\dotTrace-Main\src\ViewControls.Memory\src\OutgoingByObjectsTreeView\TreeStructure.cs:line 118 at JetBrains.dotTrace.ViewControls.Memory.OutgoingByObjectsTreeView.TreeStructure.GetChildren(Object o) in C:\Agent\work\Server\dotTrace-Main\src\ViewControls.Memory\src\OutgoingByObjectsTreeView\TreeStructure.cs:line 195 at JetBrains.ReSharper.UI.AbstractTreeBuilder.AbstractTreeBuilder.UpdateChildren(IAbstractTreeNode parentNode) in c:\Agent\work\Server\ReSharper2.0\src\AbstractTreeBuilder\src\AbstractTreeBuilder.cs:line 260 at JetBrains.ReSharper.UI.AbstractTreeBuilder.AbstractTreeBuilder.MyTreeControl_OnExpandedChanged(IAbstractTreeControl treeControl, IAbstractTreeNode node) in c:\Agent\work\Server\ReSharper2.0\src\AbstractTreeBuilder\src\AbstractTreeBuilder.cs:line 169 at JetBrains.dotTrace.TreeViewControl.TreeControl.NodeExpandedChanged(AbstractTreeNode node) in C:\Agent\work\Server\dotTrace-Main\src\TreeViewControl\src\TreeControl\TreeControl.cs:line 584 at JetBrains.dotTrace.TreeViewControl.AbstractTreeNode.set_Expanded(Boolean value) in C:\Agent\work\Server\dotTrace-Main\src\TreeViewControl\src\TreeControl\AbstractTreeNode.cs:line 118 at JetBrains.dotTrace.TreeViewControl.TreeViewRowNode.OnMouseDown(MouseEventArgs e) in C:\Agent\work\Server\dotTrace-Main\src\TreeViewControl\src\TreeControl\TreeViewRowNode.cs:line 165 at JetBrains.dotTrace.TreeViewControl.CommonTreeNode.OnMouseDown(MouseEventArgs e) in C:\Agent\work\Server\dotTrace-Main\src\TreeViewControl\src\TreeControl\CommonTreeNode.cs:line 137 at JetBrains.dotTrace.TreeViewControl.TreeControl.OnMouseDown(MouseEventArgs e) in C:\Agent\work\Server\dotTrace-Main\src\TreeViewControl\src\TreeControl\TreeControl.cs:line 334 at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) --- End of inner exception stack trace --- at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\Server\ReSharper2.0\src\Util\src\Logger.cs:line 331 column 9 at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\Server\ReSharper2.0\src\Util\src\Logger.cs:line 343 column 5 at JetBrains.ReSharper.Shell.ShellBase.OnUnhandledException(Exception) in c:\Agent\work\Server\ReSharper2.0\src\Shell\src\ShellBase.cs:line 132 column 5 at JetBrains.ReSharper.Shell.UIApplicationShell.Application_ThreadException(Object, ThreadExceptionEventArgs) in c:\Agent\work\Server\ReSharper2.0\src\Shell\src\UIApplicationShell.cs:line 785 column 5
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Index was outside the bounds of the array.

    YouTrack | 9 years ago
    System.IndexOutOfRangeException: Index was outside the bounds of the array. at Borland.Together.Integration.Project.DesignProject.IsDocumentInProject(String pszMkDocument, Int32& pfFound, VSDOCUMENTPRIORITY[] pdwPriority, UInt32& pitemid) at JetBrains.VSAddin.ProjectModel.ProjectModelSynchronizer.HandleRename(Int32 cFiles, IVsProject[] rgpProjects, Int32[] rgFirstIndices, String[] rgszMkOldNames, String[] rgszMkNewNames) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ProjectModel\ProjectModelSynchronizer.cs:line 507 at JetBrains.VSAddin.ProjectModel.VSSolutionManager.<>c__DisplayClass1a.<OnAfterRenameFiles>b__19() in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 612 at JetBrains.ReSharper.Shell.UIApplicationShell.InvokePendingActions() in c:\Agent\work\Server\ReSharper2.5\src\Shell\src\UIApplicationShell.cs:line 703 --- End of inner exception stack trace --- at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\Logger.cs:line 350 column 9 at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\Logger.cs:line 362 column 5 at JetBrains.ReSharper.Shell.UIApplicationShell.InvokePendingActions() in c:\Agent\work\Server\ReSharper2.5\src\Shell\src\UIApplicationShell.cs:line 711 column 15 at JetBrains.ReSharper.Shell.UIApplicationShell.InvokeReentrantSafe(Action) in c:\Agent\work\Server\ReSharper2.5\src\Shell\src\UIApplicationShell.cs:line 681 column 5 at JetBrains.VSAddin.ProjectModel.VSSolutionManager.QueueAction(Action) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 259 column 12 at JetBrains.VSAddin.ProjectModel.VSSolutionManager.OnAfterRenameFiles(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEFILEFLAGS[]) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 608 column 7 at Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocuments2.OnAfterRenameFiles(IVsProject, Int32, String[], String[], VSRENAMEFILEFLAGS[]) at Borland.Together.Integration.Project.VsTrackProjectDocuments2.AfterRenameFile(IVsProject, String, String)
  6. 0

    Index was outside the bounds of the array.

    YouTrack | 9 years ago
    System.IndexOutOfRangeException: Index was outside the bounds of the array. at Borland.Together.Integration.Project.DesignProject.IsDocumentInProject(String pszMkDocument, Int32& pfFound, VSDOCUMENTPRIORITY[] pdwPriority, UInt32& pitemid) at JetBrains.VSAddin.ProjectModel.ProjectModelSynchronizer.HandleRename(Int32 cFiles, IVsProject[] rgpProjects, Int32[] rgFirstIndices, String[] rgszMkOldNames, String[] rgszMkNewNames) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ProjectModel\ProjectModelSynchronizer.cs:line 507 at JetBrains.VSAddin.ProjectModel.VSSolutionManager.<>c__DisplayClass17.<OnAfterRenameDirectories>b__16() in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 595 at JetBrains.ReSharper.Shell.UIApplicationShell.InvokePendingActions() in c:\Agent\work\Server\ReSharper2.5\src\Shell\src\UIApplicationShell.cs:line 703 --- End of inner exception stack trace --- at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\Logger.cs:line 350 column 9 at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\Logger.cs:line 362 column 5 at JetBrains.ReSharper.Shell.UIApplicationShell.InvokePendingActions() in c:\Agent\work\Server\ReSharper2.5\src\Shell\src\UIApplicationShell.cs:line 711 column 15 at JetBrains.ReSharper.Shell.UIApplicationShell.InvokeReentrantSafe(Action) in c:\Agent\work\Server\ReSharper2.5\src\Shell\src\UIApplicationShell.cs:line 681 column 5 at JetBrains.VSAddin.ProjectModel.VSSolutionManager.QueueAction(Action) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 259 column 12 at JetBrains.VSAddin.ProjectModel.VSSolutionManager.OnAfterRenameDirectories(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEDIRECTORYFLAGS[]) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 591 column 7 at Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocuments2.OnAfterRenameDirectories(IVsProject, Int32, String[], String[], VSRENAMEDIRECTORYFLAGS[]) at Borland.Together.Integration.Project.VsTrackProjectDocuments2.AfterRenameDirectory(IVsProject, String, String)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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