Exception in Export dialog
Posted: Thu Sep 24, 2009 4:43 pm
We use:
TeeChart
Latest Binary version: 28th May 2009 Framework 2.0 Build 4.0.2009.21354
We use the Export dialog to give the user the option to export the Chart as picture.
On some machines the following happens:
If I select the last export option "as Flex", an exception is thrown (direct after the selection of this node).
This happens on 2 machines without dev environment.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Steema.TeeChart.Export.FlexOptions.ReadOptions()
at Steema.TeeChart.Export.FlexOptions..ctor(Chart c)
at Steema.TeeChart.Editors.Export.FlexEditor.Options(Chart c)
at Steema.TeeChart.Editors.Export.ExportEditor.listBox1_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ListBox.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)
TeeChart
Latest Binary version: 28th May 2009 Framework 2.0 Build 4.0.2009.21354
We use the Export dialog to give the user the option to export the Chart as picture.
On some machines the following happens:
If I select the last export option "as Flex", an exception is thrown (direct after the selection of this node).
This happens on 2 machines without dev environment.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Steema.TeeChart.Export.FlexOptions.ReadOptions()
at Steema.TeeChart.Export.FlexOptions..ctor(Chart c)
at Steema.TeeChart.Editors.Export.FlexEditor.Options(Chart c)
at Steema.TeeChart.Editors.Export.ExportEditor.listBox1_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ListBox.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)