[Mono-list] System.NullReferenceException when starting monodoc

Eric Veltman eric@veltman.nu
Sun, 13 Jul 2003 12:30:57 +0200


Hello everyone,

Earlier this week I installed the latest version of Mono and did some tests,
it seems to work OK. My compliments ! I've made some small "Hello World" 
complexity programs and they compiled and ran fine and the ASP.NET samples 
ran fine as well.

I only have problems with monodoc. When I tried to compile it, it complained
about missing GtkSharp stuff, so I started focussing on GtkSharp.
GtkSharp complained about missing Gnome / Gtk related prerequisites.
To resolve that, I thought it would be easiest to just install a reasonably 
recent ( stable ) version of Gnome, but couldn't find a binary version for 
SuSE, so I used Garnome 0.22.0. If I remember correctly, after that GtkSharp 
would compile and after that monodoc as well, but trying to run monodoc
resulted in an error about a missing gtkhtml3.

So I installed that and some dependencies for which I didn't yet have the 
right version and after that monodoc didn't complain anymore about a
missing gtkhtml3, but instead it now complains like this :

Unhandled Exception: System.NullReferenceException: A null value was found 
where an object instance was required
in (unmanaged) 06 GtkSharp.boolObjectEventAnySignal:g_signal_connect_data 
(intptr,string,GtkSharp.boolObjectEventAnyDelegate,int,intptr,int)
in <0x00004> 06 GtkSharp.boolObjectEventAnySignal:g_signal_connect_data 
(intptr,string,GtkSharp.boolObjectEventAnyDelegate,int,intptr,int)
in <0x000e7> 00 GtkSharp.boolObjectEventAnySignal:.ctor 
(GLib.Object,intptr,string,System.Delegate,System.Type)
in <0x000bd> 00 Gtk.Widget:add_DeleteEvent (GtkSharp.DeleteEventHandler)
in <0x0012a> 00 .Browser:.ctor ()
in <0x0017b> 00 .Browser:Main (string[])

Any idea what's wrong here ? The distribution is SuSE Linux 8.0
and the versions of the packages that I installed are : 

Mono :
gtk-sharp-0.10
mcs-0.25
mono-0.25
monodoc-0.5
xsp-0.4

Gnome ( related ) :
glib-2.2.1
garnome-0.22.0
gal-1.99.8
libgnomeprint-1.116.3
libgnomeprintui-1.116.3
gtkhtml-3.0.7

Best regards,

Eric Veltman