[Mono-bugs] [Bug 63098][Nor] Changed - NullReferenceException invoking Font.Height on Mono/Linux

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 17 Aug 2004 16:50:47 -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 gert.driesen@pandora.be.

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

--- shadow/63098	2004-08-17 16:39:34.000000000 -0400
+++ shadow/63098.tmp.9982	2004-08-17 16:50:47.000000000 -0400
@@ -71,6 +71,27 @@
 I think I've set this bug report to resolved by accident. I've just 
 rebuilt from cvs (HEAD) and can still reproduce this issue.
 
 ------- Additional Comments From rkumar@novell.com  2004-08-17 16:39 -------
 I checked in a patch to cvs HEAD, can you please update your
 libgdiplus and let me know, if it is fixed for you. Thanks!
+
+------- Additional Comments From gert.driesen@pandora.be  2004-08-17 16:50 -------
+After rebuilding libgdiplus, I now get the following exception when
+running the attached test app :
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in (unmanaged) (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipDrawString
+(intptr,string,int,intptr,System.Drawing.RectangleF&,intptr,intptr)
+in <0x00004> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipDrawString
+(intptr,string,int,intptr,System.Drawing.RectangleF&,intptr,intptr)
+in <0x000a5> System.Drawing.Graphics:DrawString
+(string,System.Drawing.Font,System.Drawing.Brush,single,single)
+in <0x000bc> (wrapper remoting-invoke-with-check)
+System.Drawing.Graphics:DrawString
+(string,System.Drawing.Font,System.Drawing.Brush,single,single)
+in <0x00449> PieChart:Draw ()
+in <0x000eb> EntryPoint:Main ()
+