[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.

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

--- 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   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: massimo.perga at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+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.Collections.CaseInsensitiveComparer
+at
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadata(
+System.IO.BinaryReader,bool,bool) <0x0074c>
+at
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInstance(
+System.IO.BinaryReader,bool,bool,long&,object&,
+System.Runtime.Serialization.SerializationInfo& ) <0x0005f>
+at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (
+System.Runtime.Serialization.Formatters.Binary.BinaryElement ,
+System.IO.BinaryReader,long&,object&,
+System.Runtime.Serialization.SerializationInfo& ) <0x000e3>
+at
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (
+System.IO.BinaryReader) <0x00081>
+at
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph(
+System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.Header[]&)
+<0x000ec>
+at
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize(
+System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler ) <0x00169>
+at
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.UnsafeDeserialize(
+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&)
+<0x001fa>
+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