[Mono-list] System.NullReferenceException when starting monodoc

Eric Veltman eric@veltman.nu
Thu, 17 Jul 2003 22:24:23 +0200


Hello Miguel,

On Thursday 17 July 2003 05:30, Miguel de Icaza wrote:

> I saw your message, but was puzzled;  I am no longer running Mono 0.25
> or MonoDoc 0.5;  May I suggest you to try a CVS snapshot?

I tried now with a cvs snapshot of gtk-sharp and monodoc, it does compile,
but it doesn't run. I didn't update mono and mcs though, because I couldn't
get the snapshots of these to compile. I'll take a further look at that later.
My time is too limited, almost have to go to sleep again :-)

The error I'm now getting when I start monodoc is different, so I post it,
perhaps this error gives better clues :

Unhandled Exception: System.Reflection.TargetInvocationException: Exception 
has been thrown by the target of an invocation. ---> 
System.NullReferenceException: A null value was found where an object 
instance was required
in (unmanaged) 06 GtkSharp.voidObjectSignal:g_signal_connect_data 
(intptr,string,GtkSharp.voidObjectDelegate,int,intptr,int)
in <0x00004> 06 GtkSharp.voidObjectSignal:g_signal_connect_data 
(intptr,string,GtkSharp.voidObjectDelegate,int,intptr,int)
in <0x000e7> 00 GtkSharp.voidObjectSignal:.ctor 
(GLib.Object,intptr,string,System.Delegate,System.Type)
in <0x000bd> 00 Gtk.MenuItem:add_Activated (System.EventHandler)
in (unmanaged) /usr/local/lib/libmono.so.0 [0x4004e73d]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_runtime_invoke+0x2c) 
[0x400aeadc]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_runtime_invoke_array+0x2f5) 
[0x400afc85]
in (unmanaged) /usr/local/lib/libmono.so.0 [0x400b6a43]
in <0x0009c> 00 System.Reflection.MonoMethod:Invoke 
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---

in <0x000e4> 00 System.Reflection.MonoMethod:Invoke 
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in <0x00026> 00 System.Reflection.MethodBase:Invoke (object,object[])
in <0x00210> 00 .SignalConnector:ConnectFunc 
(string,intptr,string,string,intptr,int,intptr)
in <0x0008a> 05 .SignalConnector:ConnectFunc 
(intptr,intptr,intptr,intptr,intptr,int,intptr)
in (unmanaged) 06 .SignalConnector:glade_xml_signal_autoconnect_full 
(intptr,RawXMLConnectFunc,intptr)
in <0x00004> 06 .SignalConnector:glade_xml_signal_autoconnect_full 
(intptr,RawXMLConnectFunc,intptr)
in <0x00070> 00 .SignalConnector:Autoconnect ()
in <0x00052> 00 Glade.XML:Autoconnect (object)
in <0x00071> 00 Monodoc.Browser:.ctor ()
in <0x0017b> 00 Monodoc.Driver:Main (string[])

Salud, amor y muchas euros,
( This is about the only piece of Spanish I remember from my unfinished 
Spanish course and perhaps I even got this wrong :-) )

Eric Veltman