[Mono-dev] windows.form regression with mono 2.8.1

mdussault mike.biz at dussault.org
Fri Nov 19 17:47:04 EST 2010


I get this problem too. I just downloaded KeePass 2.1.3 and typing:

mono KeePass.exe

crashes the same way:


Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
  at System.Drawing.Graphics.Dispose () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:Dispose ()
  at System.Drawing.Bitmap..ctor (System.Drawing.Image original, Int32
width, Int32 height) [0x00000] in <filename unknown>:0 
  at System.Drawing.Bitmap..ctor (System.Drawing.Image original) [0x00000]
in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor
(System.Drawing.Image)
  at System.Windows.Forms.Cursor.ToBitmap (Boolean xor, Boolean transparent)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Cursor.CreateCursor (System.IO.Stream stream)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Cursor..ctor (System.Type type, System.String
resource) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Cursors.get_SizeNWSE () [0x00000] in <filename
unknown>:0 
  at System.Windows.Forms.SizeGrip..ctor (System.Windows.Forms.Control
CapturedControl) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.SizeGrip:.ctor (System.Windows.Forms.Control)
  at System.Windows.Forms.ScrollableControl.CreateScrollbars () [0x00000] in
<filename unknown>:0 
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename
unknown>:0 
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename
unknown>:0 
  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (IWin32Window
owner, System.String text, System.String caption, MessageBoxButtons buttons,
MessageBoxIcon icon, Boolean displayHelpButton) [0x00000] in <filename
unknown>:0 
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (IWin32Window
owner, System.String text, System.String caption, MessageBoxButtons buttons,
MessageBoxIcon icon, MessageBoxDefaultButton defaultButton,
MessageBoxOptions options, Boolean displayHelpButton) [0x00000] in <filename
unknown>:0 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.MessageBox/MessageBoxForm:.ctor
(System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton,System.Windows.Forms.MessageBoxOptions,bool)
  at System.Windows.Forms.MessageBox.Show (System.String text, System.String
caption, MessageBoxButtons buttons, MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton) [0x00000] in <filename unknown>:0 
  at KeePassLib.Utility.MessageService.SafeShowMessageBox (System.String
strText, System.String strTitle, MessageBoxButtons mb, MessageBoxIcon mi,
MessageBoxDefaultButton mdb) [0x00000] in <filename unknown>:0 
  at KeePassLib.Utility.MessageService.ShowFatal (System.Object[] vLines)
[0x00000] in <filename unknown>:0 
  at KeePass.Program.Main (System.String[] args) [0x00000] in <filename
unknown>:0 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/windows-form-regression-with-mono-2-8-1-tp3048328p3051092.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list