[Mono-bugs] [Bug 77605][Min] Changed - GraphicsPath.AddPolygon should throw invalid arg exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 20 11:55:43 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 sebastien at ximian.com.

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

--- shadow/77605	2006-02-20 10:57:23.000000000 -0500
+++ shadow/77605.tmp.23231	2006-02-20 11:55:43.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77605
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Minor
 Component: Sys.Drawing.
 AssignedTo: jordi at ximian.com                            
 ReportedBy: scottellington at comcast.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -23,6 +23,22 @@
 
 The exception on Windows is:
 
 Unhandled Exception: System.ArgumentException: Parameter is not valid.
    at System.Drawing.Drawing2D.GraphicsPath.AddPolygon(PointF[] points)
    at DrawMe.Main(String[] argv)
+
+------- Additional Comments From sebastien at ximian.com  2006-02-20 11:55 -------
+This bug is already fixed in SVN. You need to update libgdiplus to get
+the exception.
+
+% mono 77605.exe
+ 
+Unhandled Exception: System.ArgumentException: Invalid Parameter. A
+null reference or invalid value was found.
+in <0x00084> System.Drawing.GDIPlus:CheckStatus (Status status)
+in <0x0002c> System.Drawing.Drawing2D.GraphicsPath:AddPolygon
+(System.Drawing.PointF[] points)
+in (wrapper remoting-invoke-with-check)
+System.Drawing.Drawing2D.GraphicsPath:AddPolygon (System.Drawing.PointF[])
+in <0x000c4> Program:Main ()
+


More information about the mono-bugs mailing list