[Mono-bugs] [Bug 81122][Maj] Changed - Deserialzing a resource of type byte[] fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 12 15:37:20 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by frederik.carlier at ugent.be.

http://bugzilla.ximian.com/show_bug.cgi?id=81122

--- shadow/81122	2007-03-12 14:35:52.000000000 -0500
+++ shadow/81122.tmp.8860	2007-03-12 14:37:20.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 81122
 Product: Mono: Class Libraries
 Version: 1.2
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: frederik.carlier at ugent.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -39,6 +39,48 @@
 SVN Head
 
 ------- Additional Comments From frederik.carlier at ugent.be  2007-03-12 14:35 -------
 Created an attachment (id=18885)
 Files required to reproduce the issue (tar.gz)
 
+
+------- Additional Comments From frederik.carlier at ugent.be  2007-03-12 14:37 -------
+More detailed stack trace
+
+Error: System.ArgumentException: Invalid ResX input. --->
+System.Xml.XmlException: Constructor not found. Class: System.Byte[] 
+Line 123, position 5. ---> System.MissingMethodException: Constructor
+not found. Class: System.Byte[]
+  at System.Activator.CreateInstance (System.Type type, BindingFlags
+bindingAttr, System.Reflection.Binder binder, System.Object[] args,
+System.Globalization.CultureInfo culture, System.Object[]
+activationAttributes) [0x000c4] in
+/home/fcarlier/development/mono/mcs/class/corlib/System/Activator.cs:214 
+  at System.Activator.CreateInstance (System.Type type, BindingFlags
+bindingAttr, System.Reflection.Binder binder, System.Object[] args,
+System.Globalization.CultureInfo culture) [0x00000] in
+/home/fcarlier/development/mono/mcs/class/corlib/System/Activator.cs:177 
+  at System.Resources.ResXFileRef+Converter.ConvertFrom
+(ITypeDescriptorContext context, System.Globalization.CultureInfo
+culture, System.Object value) [0x000d3] in
+/home/fcarlier/development/mono/mcs/class/Managed.Windows.Forms/System.Resources/ResXFileRef.cs:83
+
+  at System.ComponentModel.TypeConverter.ConvertFromString
+(ITypeDescriptorContext context, System.Globalization.CultureInfo
+culture, System.String text) [0x00000] in
+/home/fcarlier/development/mono/mcs/class/System/System.ComponentModel/TypeConverter.cs:106
+
+  at System.ComponentModel.TypeConverter.ConvertFromInvariantString
+(ITypeDescriptorContext context, System.String text) [0x00000] in
+/home/fcarlier/development/mono/mcs/class/System/System.ComponentModel/TypeConverter.cs:91
+
+  at System.ComponentModel.TypeConverter.ConvertFromInvariantString
+(System.String text) [0x00000] in
+/home/fcarlier/development/mono/mcs/class/System/System.ComponentModel/TypeConverter.cs:86
+
+  at System.Resources.ResXResourceReader.parse_data_node
+(System.Xml.XmlTextReader xtr) [0x00113] in
+/home/fcarlier/development/mono/mcs/class/Managed.Windows.Forms/System.Resources/ResXResourceReader.cs:247
+
+  at System.Resources.ResXResourceReader.load_data () [0x000c7] in
+/home/fcarlier/development/mono/mcs/class/Managed.Windows.Forms/System.Resources/ResXResourceReader.cs:158
+--- End of inner exception stack trace ---


More information about the mono-bugs mailing list