[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 
in <0x00004> 06 GtkSharp.voidObjectSignal:g_signal_connect_data 
in <0x000e7> 00 GtkSharp.voidObjectSignal:.ctor 
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) 
in (unmanaged) /usr/local/lib/libmono.so.0(mono_runtime_invoke_array+0x2f5) 
in (unmanaged) /usr/local/lib/libmono.so.0 [0x400b6a43]
in <0x0009c> 00 System.Reflection.MonoMethod:Invoke 
--- End of inner exception stack trace ---

in <0x000e4> 00 System.Reflection.MonoMethod:Invoke 
in <0x00026> 00 System.Reflection.MethodBase:Invoke (object,object[])
in <0x00210> 00 .SignalConnector:ConnectFunc 
in <0x0008a> 05 .SignalConnector:ConnectFunc 
in (unmanaged) 06 .SignalConnector:glade_xml_signal_autoconnect_full 
in <0x00004> 06 .SignalConnector:glade_xml_signal_autoconnect_full 
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