[Mono-bugs] [Bug 56825][Cri] Changed - Error while serializing a class
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 13 Apr 2004 12:51:16 -0400 (EDT)
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 lluis@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=56825
--- shadow/56825 2004-04-12 01:50:59.000000000 -0400
+++ shadow/56825.tmp.32054 2004-04-13 12:51:16.000000000 -0400
@@ -2,13 +2,13 @@
Product: Mono: Runtime
Version: unspecified
OS: other
OS Details: Gentoo Linux
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Critical
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: eric@extremeboredom.net
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -24,6 +24,16 @@
It seems that any class that inherits MeshworkException fails to serialize.
While I dont doubt I'm doing something really stupid here, it does work
very well when running under Microsoft.NET.
Thanks,
FireRabbit
+
+------- Additional Comments From lluis@ximian.com 2004-04-13 12:51 -------
+How is the serializer created?, which instance are you serializing?
+Beware that if you are doing:
+
+XmlSerializer s = new XmlSerializer(typeof(MeshworkException));
+s.Serialize (Console.Out, new DirectoryNotFoundException());
+
+This will fail in mono, and in MS.NET.
+If you are not doing this, a self contained test would be of great help.