[Gtk-sharp-list] General Question

Todd Berman tberman@gentoo.org
27 Jul 2003 02:17:30 -0400


I am in the middle of writing a gtk# app, and I have a CheckButton that
calls a function when toggled. Now, when the CheckButton is hit I get
the following exception:

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in (unmanaged) 06 GLib.Object:g_object_unref (intptr)
in <0x00004> 06 GLib.Object:g_object_unref (intptr)
in <0x00030> 00 GLib.Object:Unref ()
in <0x00148> 00 GLib.Object:PerformQueuedUnrefs ()
in <0x0001b> 05 GLib.Object:PerformQueuedUnrefs ()
in (unmanaged) 06 Gtk.Application:gtk_main ()
in <0x00004> 06 Gtk.Application:gtk_main ()
in <0x00007> 00 Gtk.Application:Run ()
in <0x0029d> 00 SevenL.GypsyShell.Gypsy:.ctor ()
in <0x00025> 00 SevenL.GypsyShell.Gypsy:Main (string[])


This seems to occur only when I execute calls to a web service when it
is toggled.

Any idea or pointers would be greatly appreciated.

--Todd