[Mono-list] monodoc - NullReferenceException when item choosedin topics tree

Rodolfo Campero rodolfocampero@hotmail.com
Sat, 26 Jul 2003 18:33:59 +0000


Thanks you for your interest Ben.
I clicked on:
- Mono Documentation
- Class Library
- System
- Activator Class
Always on the triangles at the left, and then on "Members" (the text). All 
were single clicks, not double clicks.

Here is the stack trace:

Unhandled Exception: System.NullReferenceException: A null value was found 
where an object instance was required
in (unmanaged) 06 System.Xml.Xsl.XslTransform:xmlXPathNewNodeSet (intptr)
in <0x00004> 06 System.Xml.Xsl.XslTransform:xmlXPathNewNodeSet (intptr)
in [0x000c2] (at 
/usr/local/cvsroot/mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs:611) 
00 .ExtensionFunctionWrapper:Function (intptr,int)
in <0x00035> 05 .ExtensionFunctionWrapper:Function (intptr,int)
in (unmanaged) 06 System.Xml.Xsl.XslTransform:xsltApplyStylesheetUser 
(intptr,intptr,string[],string,intptr,intptr)
in <0x00004> 06 System.Xml.Xsl.XslTransform:xsltApplyStylesheetUser 
(intptr,intptr,string[],string,intptr,intptr)
in [0x002fe] (at 
/usr/local/cvsroot/mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs:273) 
00 System.Xml.Xsl.XslTransform:ApplyStylesheet 
(intptr,string[],System.Collections.Hashtable)
in [0x00004] (at 
/usr/local/cvsroot/mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs:309) 
00 System.Xml.Xsl.XslTransform:ApplyStylesheetAndGetString 
(intptr,string[],System.Collections.Hashtable)
in [0x0012d] (at 
/usr/local/cvsroot/mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs:425) 
00 System.Xml.Xsl.XslTransform:Transform 
(System.Xml.XPath.XPathNavigator,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter)
in [0x0001a] (at 
/usr/local/cvsroot/mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs:375) 
00 System.Xml.Xsl.XslTransform:Transform 
(System.Xml.XPath.IXPathNavigable,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter)
in [0x00083] (at /usr/local/cvsroot/monodoc/browser/ecma-provider.cs:717) 00 
Monodoc.EcmaHelpSource:Htmlize 
(System.Xml.XmlNode,System.Xml.Xsl.XsltArgumentList)
in [0x0020e] (at /usr/local/cvsroot/monodoc/browser/ecma-provider.cs:679) 00 
Monodoc.EcmaHelpSource:GetTextFromUrl (string)
in [0x00015] (at /usr/local/cvsroot/monodoc/browser/ecma-provider.cs:391) 00 
Monodoc.EcmaHelpSource:GetText (string,Monodoc.Node&)
in [0x0006a] (at /usr/local/cvsroot/monodoc/browser/browser.cs:570) 00 
Monodoc.TreeBrowser:RowActivated (object,System.EventArgs)
in <0x0005a> 01 System.MulticastDelegate:invoke_void_object_EventArgs 
(object,System.EventArgs)
in <0x0012b> 00 GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in <0x00030> 05 GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in (unmanaged) 06 Gtk.Application:gtk_main ()
in <0x00004> 06 Gtk.Application:gtk_main ()
in <0x00007> 00 Gtk.Application:Run ()
in [0x000c3] (at /usr/local/cvsroot/monodoc/browser/browser.cs:65) 00 
Monodoc.Driver:Main (string[])

I was able to see the documentation for some time, then it broke. I don't 
remember exacty what I did in the meantime, but I'm sure I did several CVS 
updates and builds.

>From: Ben Maurer <bmaurer@users.sourceforge.net>
>To: Rodolfo Campero <rodolfocampero@hotmail.com>
>CC: mono-list@lists.ximian.com
>Subject: Re: [Mono-list] monodoc - NullReferenceException when item 
>choosedin topics tree
>Date: 26 Jul 2003 14:10:32 -0400
>
>On Sat, 2003-07-26 at 14:04, Rodolfo Campero wrote:
> > Hello,
> > I get the following exception when I try to see the documentation of a 
>topic
> > in monodoc:
> > [...]
> > I have a CVS (Jul 25 2003) version of mono/mcs/gtk-sharp/monodoc.
>Hi,
>
>Thank you for the bug report. It would really help if you could do two
>additional things:
>
>      1. Please tell us the *exact* sequence of mouse clicks you
>         performed, exactly where you clicked.
>      2. Please run monodoc with debug (mono --debug
>         /prefix/lib/monodoc/browser.exe), and give us the stack trace,
>         so that it has line numbers.
>Again, thanks for the bug report.
>
>-- Ben
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail