[Mono-bugs] [Bug 78265][Maj] Changed - TreeNode's serialization is not compatible with MS.NET

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 2 11:05:59 EDT 2006


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 robertj at gmx.net.

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

--- shadow/78265	2006-05-02 10:56:42.000000000 -0400
+++ shadow/78265.tmp.3009	2006-05-02 11:05:59.000000000 -0400
@@ -1,25 +1,84 @@
 Bug#: 78265
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: Windows XP SP2
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: don at edvalson.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Resgen Crash
+Summary: TreeNode's serialization is not compatible with MS.NET
 
 Resgen crashes when trying to compile the attached resource file. The 
 crash occurs at line 1783 of the attached .resx file
 
 ------- Additional Comments From don at edvalson.net  2006-05-02 10:56 -------
 Created an attachment (id=16895)
 zip file with .resx file that causes crash of resgen
 
+
+------- Additional Comments From robertj at gmx.net  2006-05-02 11:05 -------
+It crashes with a SerializationException because
+Mono's TreeNode is not binary compatible with MS.NET.
+
+Subject changed.
+
+Error: Exception has been thrown by the target of an invocation.
+Inner exception: System.Reflection.TargetInvocationException:
+Exception has been thrown by the target of an invocation. --->
+System.Runtime.Serialization.SerializationException: No element named
+prop_bag could be found.
+in <0x001c1> System.Runtime.Serialization.SerializationInfo:GetValue
+(System.String name, System.Type type)
+in <0x0007b> System.Windows.Forms.TreeNode:.ctor
+(System.Runtime.Serialization.SerializationInfo info, StreamingContext
+context)
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Reflection.MonoCMethod:InternalInvoke (object,object[])
+in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder,
+System.Object[] parameters, System.Globalization.CultureInfo
+culture)--- End of inner exception stack trace ---
+
+in <0x0010e> System.Reflection.MonoCMethod:Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder,
+System.Object[] parameters, System.Globalization.CultureInfo culture)
+in <0x0001a> System.Reflection.MethodBase:Invoke (System.Object obj,
+System.Object[] parameters)
+in <0x001e1> System.Runtime.Serialization.ObjectRecord:LoadData
+(System.Runtime.Serialization.ObjectManager manager,
+ISurrogateSelector selector, StreamingContext context)
+in <0x00110> System.Runtime.Serialization.ObjectManager:DoFixups ()
+in <0x00042>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject
+(System.IO.BinaryReader reader)
+in <0x000ab>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph
+(System.IO.BinaryReader reader, Boolean readHeaders, System.Object
+result, System.Runtime.Remoting.Messaging.Header[] headers)
+in <0x0011f>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:NoCheckDeserialize
+(System.IO.Stream serializationStream,
+System.Runtime.Remoting.Messaging.HeaderHandler handler)
+in <0x0000f>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
+(System.IO.Stream serializationStream)
+in <0x0023d> System.Resources.ResXResourceReader:load_data ()
+in <0x0005f> System.Resources.ResXResourceReader:basic_setup ()
+in <0x0002f> System.Resources.ResXResourceReader:.ctor
+(System.IO.Stream stream)
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Reflection.MonoCMethod:InternalInvoke (object,object[])
+in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder,
+System.Object[] parameters, System.Globalization.CultureInfo culture)
+


More information about the mono-bugs mailing list