Jump to content
Software FX Community

ChartFX crashes when opening properties under certain Regional settings


User (Legacy)

Recommended Posts

I browsed through the knowledge base but didn't see anything related to

this. I'm using the first release of ChartFX for .NET.

Basically, if the PC has certain regional settings then ChartFX is throwing

an exception when I right-click the chart and select Properties. It appears

to be happen when the regional setting uses comma for decimal points but I'm

not sure about that.

Here is the stack trace:

************** Exception Text **************

System.Reflection.TargetInvocationException: Exception has been thrown by

the target of an invocation. ---> System.Exception: 416, 374 is not a valid

value for Int32. ---> System.FormatException: Input string was not in a

correct format.

at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo

info)

at System.ComponentModel.Int32Converter.FromString(String value,

NumberFormatInfo formatInfo)

at

System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext

context, CultureInfo culture, Object value)

--- End of inner exception stack trace ---

at

System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext

context, CultureInfo culture, Object value)

at

System.ComponentModel.TypeConverter.ConvertFromString(ITypeDescriptorContext

context, CultureInfo culture, String text)

at System.Drawing.SizeConverter.ConvertFrom(ITypeDescriptorContext context,

CultureInfo culture, Object value)

at System.ComponentModel.TypeConverter.ConvertFromString(String text)

at SoftwareFX.ChartFX.UI.04..ctor(Stream stream)

--- End of inner exception stack trace ---

at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags

invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean

isBinderDefault)

at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr,

Binder binder, Object[] parameters, CultureInfo culture)

at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder

binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,

Binder binder, Object[] args, CultureInfo culture, Object[]

activationAttributes)

at System.Resources.ResourceManager.CreateResourceSet(Stream store)

at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo

culture, Boolean createIfNotExists, Boolean tryParents)

at System.Resources.ResourceManager.GetResourceSet(CultureInfo culture,

Boolean createIfNotExists, Boolean tryParents)

at SoftwareFX.ChartFX.Chart.DD(String 16R, Type 16S)

at SoftwareFX.ChartFX.Y.6D(Object 0RK, CommandsEventArgs 0RL)

at SoftwareFX.ChartFX.CommandBar.J(Object 5A, Int32 5B, ICommand 5C, Boolean

5D)

at SoftwareFX.ChartFX.C.OnClick(EventArgs e)

at System.Windows.Forms.MenuItemData.Execute()

at System.Windows.Forms.Command.Invoke()

at System.Windows.Forms.Control.WmCommand(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr

wparam, IntPtr lparam)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...