[Mono-bugs] [Bug 80076][Wis] New - System.Runtime.Serialization.SerializationException because of a missing field

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 28 14:25:38 EST 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 massimo.perga at gmail.com.


--- shadow/80076	2006-11-28 14:25:38.000000000 -0500
+++ shadow/80076.tmp.17062	2006-11-28 14:25:38.000000000 -0500
@@ -0,0 +1,86 @@
+Bug#: 80076
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: massimo.perga at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: System.Runtime.Serialization.SerializationException because of a missing field
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+It happens using Debian 4.0 (1.1.18) Mono packages or using the Mono sources
+Steps to reproduce the problem:
+1. Open GIMP
+2. Open a PDN file; because of that a GIMP# plug-in named PDN is run and it
+uses a DLL generated (and fully working) using Microsoft .NET for Paint
+.NET tool
+Actual Results:
+I'm re-using a DLL created using Microsoft .NET SDK which allows me to
+read a certain file format. During the serialization process I got the
+following exception:
+Unhandled Exception: System.Runtime.Serialization.SerializationException:
+Field "m_compareInfo" not found in class
+System.IO.BinaryReader,bool,bool) <0x0074c>
+System.Runtime.Serialization.SerializationInfo& ) <0x0005f>
+at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (
+System.Runtime.Serialization.Formatters.Binary.BinaryElement ,
+System.Runtime.Serialization.SerializationInfo& ) <0x000e3>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (
+System.IO.BinaryReader) <0x00081>
+System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler ) <0x00169>
+System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler )
+<0x00024>at PaintDotNet.Document.FromStream (System.IO.Stream) <0x00451>
+at Gimp.Pdn.Pdn.Load (string) <0x0018e>
+at Gimp.FilePlugin.Run (string,Gimp.ParamDefList,Gimp.ParamDefList&)
+at Gimp.Plugin.Run (string,int,intptr,int&,intptr&) <0x000b6>
+at (wrapper native-to-managed)
+Gimp.Plugin.Run(intptr,int,intptr,int&,intptr&) <0x000a0>
+in (unmanaged) 0x2aaaac79dca1
+at (wrapper managed-to-native) Gimp.Plugin.gimp_main
+(Gimp.Plugin/GimpPlugInInfo&,int,string[]) <0x00012>
+at Gimp.Plugin..ctor (string[],string) <0x001c0>
+at Gimp.FilePlugin..ctor (string[],string) <0x00024>
+at Gimp.Pdn.Pdn..ctor (string[]) <0x00024>
+at Gimp.Pdn.Pdn.Main (string[]) <0x00026>
+Expected Results:
+No exception raised; a similar problem has been already reported by another
+GIMP# stakeholder and integrated, but it doesn't solve the issue.
+How often does this happen? 
+Every time under Linux; it runs fine under Windows XP using Microsoft .NET .
+Additional Information:
+If you need my contribute, I can help you if you'll give me basic details
+about how to submit my possible patch

More information about the mono-bugs mailing list