[Gtk-sharp-list] Problems

marco.ridoni@virgilio.it marco.ridoni@virgilio.it
Tue, 2 Sep 2003 19:54:22 +0200

I've compiled the current CVS of mono, mcs and Gtk#. Some examples work,
while other refuse to run, giving the following error:

[root@localhost sample]# mono fifteen.exe

(Fifteen:1995): GLib-GObject-WARNING **: cannot create instance of abstra=
(non-instantiatable) type `GtkWidget'

Unhandled Exception: System.NullReferenceException: A null value was foun=
where an object instance was required
in (unmanaged) 06 Gtk.Application:gtk_main ()
in <0x00004> 06 Gtk.Application:gtk_main ()
in <0x00007> 00 Gtk.Application:Run ()
in <0x00007> 00 Gnome.Program:Run ()
in <0x0077a> 00 .Fifteen:Main (string[])

I've checked and the error is triggered by the call to Application. Run()=


Any idea?

Marco Ridoni