[Mono-bugs] [Bug 80829][Nor] New - ArgumentException when loading bitmap

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 13 11:19:04 EST 2007


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 frederik.carlier at ugent.be.

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

--- shadow/80829	2007-02-13 11:19:04.000000000 -0500
+++ shadow/80829.tmp.25169	2007-02-13 11:19:04.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 80829
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: Ubuntu Edgy Eft, using Mono SVN
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: frederik.carlier at ugent.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ArgumentException when loading bitmap
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When executing the attached program, an ArgumentException is raised. This
+works fine on MS .NET.
+
+Steps to reproduce the problem:
+1. gmcs test.cs /r:System.Drawing
+2. mono test.cs
+
+Actual Results:
+
+Unhandled Exception: System.ArgumentException: Invalid Parameter. A null
+reference or invalid value was found.
+  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
+  at System.Drawing.Bitmap..ctor (System.String filename, Boolean useIcm)
+[0x00000] 
+  at System.Drawing.Bitmap..ctor (System.String filename) [0x00000] 
+  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (string)
+  at Test.TestClass.Main () [0x00000] 
+
+Expected Results:
+The program to work fine
+
+How often does this happen? 
+Always
+
+Additional Information:
+Mono SVN HEAD


More information about the mono-bugs mailing list