[Mono-bugs] [Bug 75291][Wis] Changed - Failure to deserialize
ImageStream
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jul 5 04:56:15 EDT 2005
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 maze at strahlungsfrei.de.
http://bugzilla.ximian.com/show_bug.cgi?id=75291
--- shadow/75291 2005-07-01 06:21:24.000000000 -0400
+++ shadow/75291.tmp.3108 2005-07-05 04:56:15.000000000 -0400
@@ -99,6 +99,27 @@
into /etc/mono/config:
<dllmap dll="libX11" target="/usr/X11/lib/libX11.so.6"/>
That makes it run at least to the point where it fails to
deserialize..
+
+------- Additional Comments From maze at strahlungsfrei.de 2005-07-05 04:56 -------
+The exception occurs upon accessing ImageStream.Images. Seems like
+this isn't deserialized correctly.
+
+This change makes the program work (without images):
+
+--- System.Windows.Forms/ImageList.cs (Revision 46535)
++++ System.Windows.Forms/ImageList.cs (Arbeitskopie)
+@@ -439,7 +439,7 @@
+ transparency_color =
+image_stream.BackColor;
+
+ image_collection.Clear ();
+-
++ if( image_stream.Images != null)
+ foreach (Image image in
+image_stream.Images)
+ image_collection.Add (image);
+ }
+
More information about the mono-bugs
mailing list