Page 1 of 1

Exception in Export dialog

Posted: Thu Sep 24, 2009 4:43 pm
by 15653260
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)

Re: Exception in Export dialog

Posted: Fri Sep 25, 2009 3:46 pm
by narcis
Hi ATV,

This is probably because you don't have the Flex compiler installed on those machines and therefore Flex exporting doesn't work. Please read this post on how this should be set.

Hope this helps!

Re: Exception in Export dialog

Posted: Tue Sep 29, 2009 11:14 am
by 15653260
Normally I would excpect, that the TeeChart LIB handles this problems internally - without the need to make a bugfix around ...
The enduser should not see any exception ...

Re: Exception in Export dialog

Posted: Thu Oct 01, 2009 7:15 am
by narcis
Hi ATV,

Ok, I have added this to the list to be implemented for next releases.

Re: Exception in Export dialog

Posted: Thu Oct 01, 2009 7:48 am
by 15653260
Thank you ...