Newly introduced bug: Crash disposing of Tooltip tool


https://www.nevron.com/Forum/Topic9434.aspx
Print Topic | Close Window

By Kevin Harrison - 9 Years Ago
Hi
I have just updated to 15.10.28.12 and am now getting an internal Nevron crash when I try to dispose of my custom tooltip tool.
It looks like something to do with the change to use GetView?
Thanks
Kevin

System.NullReferenceException was unhandled by user code
  HResult=-2147467261
  Message=Object reference not set to an instance of an object.
  Source=Nevron.Chart
  StackTrace:
       at Nevron.Chart.Windows.NTool.GetView()
       at Nevron.Chart.Windows.NTooltipTool.ClearTooltip()
       at Nevron.Chart.Windows.NTooltipTool.Dispose()
       at Emb.Reporting.UserControls.NevronChartControl.Dispose(Boolean disposing) in d:\Checkouts\Reporting\Emb.Reporting\Emb.Reporting.UserControls\Chart Controls\Nevron\NevronChartControl.cs:line 960
       at System.ComponentModel.Component.Dispose()
       at Emb.Reporting.UserControls.UnitTest.NevronChartControlTest.NevronChartControl_AllDataNaNTest() in d:\Checkouts\Reporting\Emb.Reporting\Emb.Reporting.UserControls.UnitTest\NevronChartControlTest.cs:line 356
  InnerException:
By Nevron Support - 9 Years Ago
Hello Kevin,
Thank you for reporting this problem. It has been fixed in the latest service pack (build version: 15.11.2.12) which is now available for download.