On several machines we encounter the following System.ArgumentException when the application is idle for a longer time. The error is not 100% reproducable, but occurs every now and then:
System.ArgumentException: Parameter is not valid.
at System.Drawing.Graphics.SetClip(RectangleF rect, CombineMode combineMode)
at System.Drawing.Graphics.SetClip(RectangleF rect)
at ActiproSoftware.WinUICore.UIControl.OnRenderChildElements(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.Render(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.a(PaintEventArgs A_0)
at ActiproSoftware.WinUICore.UIControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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)
Actipro Versions:
ActiproSoftware.Shared.Net20.dll - 1.0.87.0
ActiproSoftware.UIStudio.Dock.Net20.dll - 2.0.81.0
ActiproSoftware.WinUICore.Net20.dll - 1.0.87.0
System.ArgumentException: Parameter is not valid.
at System.Drawing.Graphics.SetClip(RectangleF rect, CombineMode combineMode)
at System.Drawing.Graphics.SetClip(RectangleF rect)
at ActiproSoftware.WinUICore.UIControl.OnRenderChildElements(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.Render(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIControl.a(PaintEventArgs A_0)
at ActiproSoftware.WinUICore.UIControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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)
Actipro Versions:
ActiproSoftware.Shared.Net20.dll - 1.0.87.0
ActiproSoftware.UIStudio.Dock.Net20.dll - 2.0.81.0
ActiproSoftware.WinUICore.Net20.dll - 1.0.87.0