Open austeeen opened 5 years ago
Made a stackoverflow post about it a while ago with more info:
More dope information bro!
With a small data sheet loaded and tag/size set to axis. Rest are default. Try to generate a chart in a try/catch block, this gets printed:
System.Windows.Forms.DataVisualization The method or operation is not implemented. at System.Windows.Forms.DataVisualization.Charting.Chart.BeginInit () [0x00000] in <1d5b317bf9054592ab76b7a715b4e6e4>:0
at BitClean.ChartDisplay.InitializeComponent () [0x0001e] in /home/austin/bitclean/ChartDisplay.Designer.cs:35
at BitClean.ChartDisplay..ctor (System.Collections.Generic.List [T] data, System.String xAxisLabel, System.String yAxisLabel, System.Boolean dust, System.Boolean structure, System.String functionChoice) [0x0000f] in /home/austin/bitclean/ChartDisplay.cs:27
at (wrapper remoting-invoke-with-check) BitClean.ChartDisplay..ctor(System.Collections.Generic.List <object[]>,string,string,bool,bool,string)
at BitClean.Diagnostics.GenerateChart_Click (System.Object sender, System.EventArgs e) [0x002e4] in /home/austin/bitclean/Diagnostics.cs:342
BeginInit()
method calls the main formDispose(bool)
method and subsequently closes the main window, then the diagnostics window, and the application hangs until I stop debugging from monodevelop GUI. I can't seem to find anything that points to why this is happening.I've put the Chart display method in a try/catch, this stops the application from crashing but exception caught is
System.Windows.Forms.Application.OnThreadException(System.NotImplementedException t) in System.Windows.Forms.NativeWindow.OnThreadException(System.NotImplementedException e)
NotImplementedException
is exactly as ugly as it sounds... an undocumented bug in the framework.