Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1785
UltraFormManager VerifyControlBoxImage null reference exception
posted

One of my users is getting a NullReferenceException from an UltraFormManager VerifyControlBoxImage method.  This is in a WinForms app using NetAdvantage 2012 Vol 2 (yes, we're stuck using these old controls).  It happens when he has a series of windows open and he closes one of them.  Of course for the life of me I can't duplicate the issue.  Any ideas what might be going on?  The exception details are below.

Thanks in advance!
Steve

<System.NullReferenceException>
<message>Object reference not set to an instance of an object.</message>
<source>Infragistics4.Win.vl2.2</source>
<targetsite>VerifyControlBoxImage</targetsite>
<stacktrace>
<frame>Infragistics.Win.UltraWinForm.UltraFormManager.VerifyControlBoxImage()</frame>
<frame>Infragistics.Win.UltraWinForm.UltraFormManager.ResolveControlBoxAppearance(AppearanceData&amp; appearanceData, AppearancePropFlags&amp; requestedProps)</frame>
<frame>Infragistics.Win.UltraWinForm.ControlBoxUIElement.InitAppearance(AppearanceData&amp; appearanceData, AppearancePropFlags&amp; requestedProps)</frame>
<frame>Infragistics.Win.UIElement.InitializeDrawAppearance(AppearanceData&amp; defaultAppearance, AppearanceData&amp; appearance)</frame>
<frame>Infragistics.Win.UIElement.DrawElement(UIElementDrawParams&amp;defaultDrawParams)</frame>
<frame>Infragistics.Win.UIElement.DrawChildElements(UIElementDrawParams&amp;drawParams)</frame>
<frame>Infragistics.Win.UIElement.DrawElement(UIElementDrawParams&amp;defaultDrawParams)</frame>
<frame>Infragistics.Win.UIElement.DrawChildElements(UIElementDrawParams&amp;drawParams)</frame>
<frame>Infragistics.Win.UIElement.DrawElement(UIElementDrawParams&amp;defaultDrawParams)</frame>
<frame>Infragistics.Win.UIElement.DrawChildElements(UIElementDrawParams&amp;drawParams)</frame>
<frame>Infragistics.Win.UIElement.DrawElement(UIElementDrawParams&amp;defaultDrawParams)</frame>
<frame>Infragistics.Win.UIElement.DrawHelper(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Boolean clipText, Boolean forceDrawAsFocused, Boolean preventAlphaBlendGraphics)</frame>
<frame>Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementsize, Boolean preventAlphaBlendGraphics)</frame>
<frame>Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode)</frame>
<frame>Infragistics.Win.UltraControlBase.OnPaint(PaintEventArgs pe)</frame>
<frame>System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Intl6 layer)</frame>
<frame>System.Windows.Forms.Control.WmPaint(Message&amp; m)</frame>
<frame>System.Windows.Forms.Control.WndProc(Message&amp; m)</frame>
<frame>System.Windows.Forms.NativeWindow.Callback(IntPtr hwnd, Int32 msg, IntPtr wparam, IntPtr lparam)</frame>
</stacktrace>
</System.NullReferenceException>

Parents Reply Children
No Data