[MonoDevelop] Stetic crash on lfrench linux distrib (Patch include )
phenixdotnet01
phenixdotnet at gmail.com
Thu Jun 5 10:49:02 EDT 2008
Hi.
My config :
MonoDevelop and Mono from svn trunk ( currently 105025 )
Ubuntu 8.04 FR ( x86_64 )
When I created or open a project with Stetic support i have this exception :
System.FormatException: Unknown char: .
at System.Double.Parse (System.String s, NumberStyles style,
IFormatProvider provider) [0x00000]
at System.Single.Parse (System.String s, IFormatProvider provider)
[0x00000]
at System.Convert.ToSingle (System.String value, IFormatProvider provider)
[0x00000]
at System.String.System.IConvertible.ToSingle (IFormatProvider provider)
[0x00000]
at System.Convert.ToType (System.Object value, System.Type conversionType,
IFormatProvider provider) [0x00000]
at System.Convert.ChangeType (System.Object value, System.Type
conversionType) [0x00000]
at Stetic.PropertyDescriptor.StringToValue (System.String value) [0x00000]
at Stetic.PropertyDescriptor.Load (System.Xml.XmlElement elem) [0x00000]
at Stetic.TypedPropertyDescriptor..ctor (System.Xml.XmlElement elem,
Stetic.ItemGroup group, Stetic.TypedClassDescriptor klass) [0x00000]
at Stetic.TypedClassDescriptor.CreateItemDescriptor (System.Xml.XmlElement
elem, Stetic.ItemGroup group) [0x00000]
at Stetic.ItemGroup..ctor (System.Xml.XmlElement elem,
Stetic.ClassDescriptor klass) [0x00000]
at Stetic.ClassDescriptor.Load (System.Xml.XmlElement elem) [0x00000]
at Stetic.TypedClassDescriptor..ctor (System.Reflection.Assembly assembly,
System.Xml.XmlElement elem) [0x00000]
at Stetic.AssemblyWidgetLibrary.LoadClassDescriptor (System.Xml.XmlElement
element) [0x00000]
at Stetic.WidgetLibrary.Load (System.Xml.XmlDocument objects) [0x00000]
at Stetic.AssemblyWidgetLibrary.Load () [0x00000]
at Stetic.Registry.RegisterWidgetLibrary (Stetic.WidgetLibrary library)
[0x00000]
May be the hard coded string is in english or the french number separator is
diffrent.
In attached file there is the patch.
http://www.nabble.com/file/p17671628/PropertyDescriptor.cs.patch
PropertyDescriptor.cs.patch
--
View this message in context: http://www.nabble.com/Stetic-crash-on-lfrench-linux-distrib-%28Patch-include-%29-tp17671628p17671628.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list
mailing list