[Mono-list] Mono starts...then bombs.

LKeene lionel.keene at gmail.com
Thu Apr 23 16:18:28 EDT 2009



Okay,
thanks to one of the forum members here I've got an error log (Note:
"MDXTestHarness" is the name of my app):

"Unhandled Exception: System.ArgumentException: A null reference or invalid
value was found [GDI+ status: InvalidParameter]   

at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0009d] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.2\mcs\class\System.Drawing\System.Drawing\gdipFunctions.cs:219
at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat
format) [0x00017] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.2\mcs\class\System.Drawing\System.Drawing\Bitmap.cs:97
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor
(int,int,System.Drawing.Imaging.PixelFormat)
at MDXTestHarness.ScaleBarDisplay.GenerateDisplay () [0x00000]
at (wrapper remoting-invoke-with-check)
MDXTestHarness.ScaleBarDisplay:GenerateDisplay ()
at MDXTestHarness.MainForm..ctor (System.String fileName) [0x00000]
at (wrapper remoting-invoke-with-check) MDXTestHarness.MainForm:.ctor
(string)
at MDXTestHarness.Program.Main () [0x00000] "

It seems like the problem is somewhere in the GDI+ drawing. I may have to
actually have to throw some exception handling in. I've been lazy and not
been bothering to do this to date. 

Anyone seen an error like this before or have any further insite into the
problem?
-- 
View this message in context: http://www.nabble.com/Mono-starts...then-bombs.-tp23197503p23200093.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list