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
35
System.NullReferenceException in Infragistics.Win.Utilities.ScreenFromRectangle
posted

We are using the 8.2 controls in a Windows application accessed through Citrix.  Occasionally we will get a NullReferenceException when the mouse moves over a random control.  It is not consistent on when it occurs, but always seems to occur in the ScreenFromRectangle from what I've seen.  The code calling the ScreenFromRectangle method varies, but most often appears to occur in the DropDown control so far.  The exception details below is from when the user was hovering over a filter dropdown on a grid.

Is there any known problems with the ScreenFromRectangle method or can anyone provide some help in determining what is going on?

 

 

Latest exception:

System.NullReferenceException: Object reference not set to an instance of an object.

   at Infragistics.Win.Utilities.ScreenFromRectangle(Rectangle rect, Rectangle mustContainRect)

   at Infragistics.Win.Utilities.ScreenFromRectangle(Rectangle rect)

   at Infragistics.Win.ToolTip.Show(Rectangle displayRect, Boolean calculateEmbeddableEditorSize, Boolean adjustX, Boolean adjustY, Rectangle exclusionRect, Boolean excludeX, Boolean excludeY, EmbeddableEditorBase editor, EmbeddableEditorOwnerBase owner, Object ownerContext, Boolean rightAlign, Int32 maxWidth)

   at Infragistics.Win.ToolTip.Show(Rectangle displayRect, Boolean calculateEmbeddableEditorSize, Boolean adjustX, Boolean adjustY, Rectangle exclusionRect, Boolean excludeX, Boolean excludeY, EmbeddableEditorBase editor, EmbeddableEditorOwnerBase owner, Object ownerContext, Boolean rightAlign)

   at Infragistics.Win.ControlUIElementBase.ShowToolTip(IUltraControl ultraControl, UIElement element, ToolTipInfo toolTipInfo)

   at Infragistics.Win.ControlUIElementBase.MouseHoverToolTipElement(IUltraControl ultraControl, UIElement element)

   at Infragistics.Win.ControlUIElementBase.NotifyMouseHover(UIElement element)

   at Infragistics.Win.ControlUIElementBase.OnHoverTimer_Tick(Object sender, EventArgs e)

   at System.Windows.Forms.Timer.OnTick(EventArgs e)

   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)