I was playing with the condition types and got this error:
System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Windows.Forms.CurrencyManager.Find(PropertyDescriptor property, Object key, Boolean keepIndex)
at System.Windows.Forms.ListControl.set_SelectedValue(Object value)
at ODNKNCFDHHPJPCMOFFIIHIOEPAPDAKPENFKF.EDAKJKCNHANIHFMDDHNINMMCFOAEGAEEHDAD.IGDGBLMIFCFJGPGICGEDFKJBEOPGHAGEJFGE()
at ODNKNCFDHHPJPCMOFFIIHIOEPAPDAKPENFKF.EDAKJKCNHANIHFMDDHNINMMCFOAEGAEEHDAD.LIMADONMOIHPLKBMGEKJHOIMPFPFGJHCNCDD(Object , RowSelectedEventArgs )
at Infragistics.Win.UltraWinGrid.UltraCombo.OnRowSelected(RowSelectedEventArgs e)
at Infragistics.Win.UltraWinGrid.UltraCombo.FireEvent(ComboEventIds id, EventArgs e)
at Infragistics.Win.UltraWinGrid.UltraCombo.FireRowSelected(RowSelectedEventArgs e)
at Infragistics.Win.UltraWinGrid.UltraCombo.FireRowSelectedEventHelper(Boolean hasChanged, Int32 newIndex)
at Infragistics.Win.UltraWinGrid.UltraCombo.SelectedItemChangeHelper(ComboSelectedItemChangeContext context, Object newData)
at Infragistics.Win.UltraWinGrid.UltraCombo.OnActiveRowChange(UltraGridRow newActiveRow, Boolean scrollIntoView)
at Infragistics.Win.UltraWinGrid.UltraGridBase.SetActiveRow(UltraGridRow row, Boolean scrollIntoView)
at Infragistics.Win.UltraWinGrid.UltraGridBase.set_ActiveRow(UltraGridRow value)
at Infragistics.Win.UltraWinGrid.UltraDropDownBase.Infragistics.Win.ISelectionManager.ActivateItem(ISelectableItem item)
at Infragistics.Win.SelectionStrategySingle.OnMouseDown(ISelectableItem item, MouseMessageInfo& msginfo, Boolean forceDrag)
at Infragistics.Win.SelectionStrategySingle.OnMouseDown(ISelectableItem item, MouseMessageInfo& msginfo)
at Infragistics.Win.SelectionStrategySingle.OnMouseMessage(ISelectableItem item, MouseMessageInfo& msginfo)
at Infragistics.Win.ControlUIElementBase.ProcessMouseDownHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseDown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
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)
I was browsing trough the different condition types when this happened.
Easily to reproduce by opening the conditions, add a new condition, and change the condition type from Visualcron to file, from file to folder. Bam, there it is.
Regards
Erik
Uses Visualcron since 2006.