diff --git a/source/bizobjects/AyaLib/GZTW.AyaNova.BLL/UIUserGridLastView.cs b/source/bizobjects/AyaLib/GZTW.AyaNova.BLL/UIUserGridLastView.cs index 8b252a9..3afe215 100644 --- a/source/bizobjects/AyaLib/GZTW.AyaNova.BLL/UIUserGridLastView.cs +++ b/source/bizobjects/AyaLib/GZTW.AyaNova.BLL/UIUserGridLastView.cs @@ -223,6 +223,28 @@ System.NullReferenceException: Object reference not set to an instance of an obj 2017-11-16 12:12:58,794 [4864] WARN AyaNova.Form1 - User opted to continue after exception 2017-11-16 12:12:58,794 [4864] INFO AyaNova.Form1 - AyaNova has shut down OK + + 2020-05-08 Michael Mera same issue huge db: + + +2020-05-08 11:42:19,662 [9944] FATAL AyaNova.Form1 - Unhandled exception +System.ArgumentOutOfRangeException: Length cannot be less than zero. +Parameter name: length + at System.String.Substring(Int32 startIndex, Int32 length) + at GZTW.AyaNova.BLL.UIUserGridLastView.set_SubstituteCriteria(String value) + at AyaNova.Util.D(Object A, ToolClickEventArgs B) + at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e) + at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e) + at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing(MouseEventArgs e) + at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp(MouseEventArgs e) + at Infragistics.Win.TextUIElementBase.OnMouseUp(MouseEventArgs e) + at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e) + at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e) + at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e) + at Infragistics.Win.UltraWinToolbars.PopupControlBase.OnMouseUp(MouseEventArgs e) + at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) + at System.Windows.Forms.Control.WndProc(Message& m) + at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) */ mViewXML = mViewXML.Substring(0, nStart) + value + mViewXML.Substring(nEnd, mViewXML.Length-nEnd);