Exception in Export dialog

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
ATV
Newbie
Newbie
Posts: 14
Joined: Tue May 12, 2009 12:00 am
Contact:

Exception in Export dialog

Post by ATV » 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)

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Exception in Export dialog

Post by Narcís » Fri Sep 25, 2009 3:46 pm

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ATV
Newbie
Newbie
Posts: 14
Joined: Tue May 12, 2009 12:00 am
Contact:

Re: Exception in Export dialog

Post by ATV » Tue Sep 29, 2009 11:14 am

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 ...

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Exception in Export dialog

Post by Narcís » Thu Oct 01, 2009 7:15 am

Hi ATV,

Ok, I have added this to the list to be implemented for next releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ATV
Newbie
Newbie
Posts: 14
Joined: Tue May 12, 2009 12:00 am
Contact:

Re: Exception in Export dialog

Post by ATV » Thu Oct 01, 2009 7:48 am

Thank you ...

Post Reply