[Mono-winforms-list] Current winforms is giving me an error

Fabian Luque Fabian Luque <fabianluque@gmail.com>
Thu, 30 Sep 2004 16:20:02 -0300


I'm also getting this error after updating today from CVS. Running
mono on Suse 9.1.

> Unhandled Exception: System.NullReferenceException: Object reference not
> set to an instance of an object
> in <0x199111> (wrapper managed-to-native)
> System.Windows.Forms.XplatUIX11:XDefaultColormap (intptr,int)
> in <0x00004> (wrapper managed-to-native)
> System.Windows.Forms.XplatUIX11:XDefaultColormap (intptr,int)
> in <0x00052> System.Windows.Forms.XplatUIX11:SetWindowBackground
> (intptr,System.Drawing.Color)
> in <0x00033> System.Windows.Forms.XplatUI:SetWindowBackground
> (intptr,System.Drawing.Color)
> in <0x001e5> System.Windows.Forms.Control:CreateHandle ()
> in <0x00030> System.Windows.Forms.Control:get_Handle ()
> in <0x0004b> (wrapper remoting-invoke-with-check)
> System.Windows.Forms.Control:get_Handle ()
> in <0x0003b> System.Windows.Forms.Control:SetVisibleCore (bool)
> in <0x00013> System.Windows.Forms.Control:set_Visible (bool)
> in <0x00064> (wrapper remoting-invoke-with-check)
> System.Windows.Forms.Control:set_Visible (bool)
> in <0x000f7> System.Windows.Forms.ScrollableControl:.ctor ()
> in <0x0000a> System.Windows.Forms.ContainerControl:.ctor ()
> in <0x0000c> System.Windows.Forms.Form:.ctor ()
> in <0x00017> UsingFonts:.ctor ()
> in <0x0004a> (wrapper remoting-invoke-with-check) UsingFonts:.ctor ()
> in <0x0001a> UsingFonts:Main ()

-- 
Fabian Luque
http://fluque.blogspot.com