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
255
UltraWinChart.IGWinTooltip.AddToControlsCollection - NullReferenceException
posted

Hello,

An Error message pops up on exiting the application. Here below is the error message.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Infragistics.Win.UltraWinChart.IGWinTooltip.AddToControlsCollection(Control controlToAttachTo)
   at Infragistics.Win.UltraWinChart.IGWinTooltip.topLevel_Paint(Object sender, PaintEventArgs e)
   at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Form.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.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.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)

Any idea on this issue ?

Parents
  • 26458
    Offline posted

    There's been several changes made to the tooltip class in the past. Are you using the latest service release? Can you tell me which version of Infragistics you're using? Can you attach a sample project to help reproduce the problem or at least describe how the chart is set up (we're looking for things like, is it in the mdi form, a tab controls, a scrollable control as long as the chart type and the type of data used)

Reply Children