[Mono-devel-list] Monodoc crashes with System.NullReferenceException

Daniel Lopez daniel at rawbyte.com
Sun Jan 2 06:58:05 EST 2005


I can reproduce this consistently on RH9, fc1, fc2, fc3
both installing Mono from RPM and from source. Everything downloaded from
1.0.5 release at http://www.go-mono.com

When clicking on some links on Monodoc, I get :
System.NullReferenceException: Object reference not set to an instance of an object
and it crashes.

To get it to crash, do the following :
- Start monodoc
- Click on C# Language specification 
- Click on any of the links on the right
- *kaboom*

This does not happen if before clicking on C# language specification, you
expand it clicking on the triangle on the left.

I can see similar problems reported on bug tracking, but not resolved :
http://bugzilla.ximian.com/show_bug.cgi?id=60972
http://bugzilla.ximian.com/show_bug.cgi?id=56433

Is anybody else seeing this? 

Stack trace on FC1:

Unhandled Exception: System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
System.NullReferenceException: Object reference not set to an instance
of an object
in [0x00001] (at
/home/duncan/conf/mono-conf/monodoc/BUILD/monodoc-1.0.5/browser/provider.cs:338)
Monodoc.Node:get_URL ()
in [0x000b7] (at
/home/duncan/conf/mono-conf/monodoc/BUILD/monodoc-1.0.5/browser/ecmaspec-provider.cs:88)
Monodoc.EcmaSpecHelpSource:GetText (string,Monodoc.Node&)
in [0x002cd] (at
/home/duncan/conf/mono-conf/monodoc/BUILD/monodoc-1.0.5/browser/provider.cs:1134)
Monodoc.RootTree:RenderUrl (string,Monodoc.Node&)
in [0x00099] (at
/home/duncan/conf/mono-conf/monodoc/BUILD/monodoc-1.0.5/browser/browser.cs:370)
Monodoc.Browser:LoadUrl (string)
in [0x00007] (at
/home/duncan/conf/mono-conf/monodoc/BUILD/monodoc-1.0.5/browser/browser.cs:342)
Monodoc.Browser:LinkClicked (object,Gtk.LinkClickedArgs)
in (unmanaged) (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
in <0x00004> (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
in [0x00033] (at
/home/cvs/1-mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:121)
System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---

in [0x00052] (at
/home/cvs/1-mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:125)
System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in [0x00006] (at
/home/cvs/1-mono/mcs/class/corlib/System.Reflection/MethodBase.cs:78)
System.Reflection.MethodBase:Invoke (object,object[])
in [0x0005d] (at
/home/cvs/1-mono/mcs/class/corlib/System/Delegate.cs:219)
System.Delegate:DynamicInvokeImpl (object[])
in [0x0001a] (at
/home/cvs/1-mono/mcs/class/corlib/System/MulticastDelegate.cs:68)
System.MulticastDelegate:DynamicInvokeImpl (object[])
in [0x00002] (at
/home/cvs/1-mono/mcs/class/corlib/System/Delegate.cs:207)
System.Delegate:DynamicInvoke (object[])
in <0x001b1> GtkSharp.voidObjectstringSignal:voidObjectstringCallback
(intptr,string,int)
in <0x00079> (wrapper native-to-managed)
GtkSharp.voidObjectstringSignal:voidObjectstringCallback
(intptr,intptr,int)
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in [0x0018f] (at
/home/duncan/conf/mono-conf/monodoc/BUILD/monodoc-1.0.5/browser/browser.cs:99)
Monodoc.Driver:Main (string[])


** ERROR **: Must shutdown ORB from main thread
aborting...
Aborted



More information about the Mono-devel-list mailing list