Advanced Search

Announcement

Collapse
No announcement yet.

QC Error: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • QC Error: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

    If you are greeted with the error below whenever a document is selected in the QC grid, try resetting the layout in Tools > QC Options > Saved Options > Restore to default.


    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
    at DevComponents.DotNetBar.SubItemsCollection.get_Item(Int32 index)
    at QC.frmQCMain.EnableAppropriateCommands()
    at QC.frmQCMain.SetDocumentForCurrentGridItem(Session sess)
    at QC.frmQCMain.UpdateCurrentItem(FocusableGridElement sgFocusedElement)
    at QC.frmQCMain.TabbedGrid_SelectionChanged(Object sender, SelectionChangedEventArgs e)
    at Divelements.SandGrid.SandGrid.OnSelectionChanged(SelectionChangedEventArgs e)
    at Divelements.SandGrid.InnerGrid.f()
    at Divelements.SandGrid.InnerGrid.F()
    at Divelements.SandGrid.InnerGrid.b(GridElement )
    at Divelements.SandGrid.GridElement.set_Selected(Boolean value)
    at Divelements.SandGrid.InnerGrid.SelectElement(FocusableGridElement element)
    at Divelements.SandGrid.SandGrid.SelectRow(GridRow row)
    at QC.frmQCMain.FinalizeSessionCreation(Session sess)
    at QC.frmQCMain.RefreshSession(Session sess, Boolean isFromUI)
    at QC.frmQCMain.ShowSelectedFields()
    at QC.frmQCMain.mnuGridColumnSelectedFields_Click(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.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)


  • #2
    Thanks for the Info.
    I haven't seen this error for few years now... good to know it still happens

    Comment

    Working...
    X