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
150
NullReferenceException in IGWinTooltip
posted

If an UltraWinChart is disposed of and removed from a form, that chart may throw an unhandled NullReferenceException when the form repaints.

The IGWinTooltip class of an UltraWinChart registers for the top level form's Paint event, but doesn't unregister when the IGWinTooltip is disposed of. This causes the IGWinTooltip to handle the Paint event of the form while it's in a disposed state. While the IGWinTooltip is in a disposed state, it attempts to reference a private memeber that was set to null in its Dispose() implementation.

Can anyone at Infragistics confirm this and give some idea as to when this might be fixed? I've worked around the issue by overriding my form's OnPaint event and hiding the exception.

 -Mike

Parents Reply Children
No Data