[Mono-docs-list] Problem documenting my code using Monodoc
Joe Scaduto
scooch@noggle.biz
Wed, 28 Apr 2004 22:44:40 -0400
Hello,
I was using Monodoc to document the code of one of my projects and while
Monodoc was running everything was going great but when I closed Monodoc
and then ran it again and selected any class to view the documentation I
got the following error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Trying: T:Art.Affine
Unhandled Exception: System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
System.TypeInitializationException: An exception was thrown by the type
initializer for Monodoc.EditingUtils ---> System.Xml.XmlException:
Document element did not appear.
in [0x00157](at
/tmp/co/mcs/class/System.XML/System.Xml/XmlTextReader.cs:483)
System.Xml.XmlTextReader:Read ()
in [0x00031] (at
/tmp/co/mcs/class/System.XML/System.Xml/XmlReader.cs:195)
System.Xml.XmlReader:MoveToContent ()
in [0x00006] (at
/tmp/co/mcs/class/System.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:61) System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadRoot ()
in [0x00022] (at
/tmp/co/mcs/class/System.XML/System.Xml.Serialization/XmlSerializer.cs:262) System.Xml.Serialization.XmlSerializer:Deserialize (System.Xml.Serialization.XmlSerializationReader)
in [0x0002e] (at
/tmp/co/mcs/class/System.XML/System.Xml.Serialization/XmlSerializer.cs:251) System.Xml.Serialization.XmlSerializer:Deserialize (System.Xml.XmlReader)
in [0x0001e] (at
/usr/local/Mono/src/mono-31/monodoc-0.13/browser/editing.cs:146)
Monodoc.GlobalChangeset:Load ()
in <0x0000a> Monodoc.EditingUtils:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) Monodoc.EditingUtils:AccountForChanges
(System.Xml.XmlDocument,string,string)
in [0x0009c] (at
/usr/local/Mono/src/mono-31/monodoc-0.13/browser/provider.cs:469)
Monodoc.HelpSource:GetHelpXmlWithChanges (string)
in [0x00014] (at
/usr/local/Mono/src/mono-31/monodoc-0.13/browser/ecma-provider.cs:724)
Monodoc.EcmaHelpSource:GetTextFromUrl (string)
in [0x000fd] (at
/usr/local/Mono/src/mono-31/monodoc-0.13/browser/ecma-provider.cs:609)
Monodoc.EcmaHelpSource:RenderTypeLookup
(string,string,string,string,Monodoc.Node&)
in [0x00053] (at
/usr/local/Mono/src/mono-31/monodoc-0.13/browser/provider.cs:905)
Monodoc.RootTree:TypeLookup (string,Monodoc.Node&)
in [0x00279] (at
/usr/local/Mono/src/mono-31/monodoc-0.13/browser/provider.cs:1061)
Monodoc.RootTree:RenderUrl (string,Monodoc.Node&)
in [0x000a1] (at
/usr/local/Mono/src/mono-31/monodoc-0.13/browser/browser.cs:349)
Monodoc.Browser:LoadUrl (string)
in [0x00007] (at
/usr/local/Mono/src/mono-31/monodoc-0.13/browser/browser.cs:321)
Monodoc.Browser:LinkClicked (object,Gtk.LinkClickedArgs)
in (unmanaged) /usr/local/lib/libmono.so.0 [0x56f71f]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_runtime_invoke+0x23)
[0x5ac0e3]
in (unmanaged)
/usr/local/lib/libmono.so.0(mono_runtime_invoke_array+0x115) [0x5acdf9]
in (unmanaged) /usr/local/lib/libmono.so.0 [0x5b2e10]
in [0x00033] (at
/tmp/co/mcs/class/corlib/System.Reflection/MonoMethod.cs:98)
System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---
in [0x00052] (at
/tmp/co/mcs/class/corlib/System.Reflection/MonoMethod.cs:102)
System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in [0x00006] (at
/tmp/co/mcs/class/corlib/System.Reflection/MethodBase.cs:52)
System.Reflection.MethodBase:Invoke (object,object[])
in [0x0005d] (at /tmp/co/mcs/class/corlib/System/Delegate.cs:197)
System.Delegate:DynamicInvokeImpl (object[])
in [0x00020] (at
/tmp/co/mcs/class/corlib/System/MulticastDelegate.cs:55)
System.MulticastDelegate:DynamicInvokeImpl (object[])
in [0x00002] (at /tmp/co/mcs/class/corlib/System/Delegate.cs:185)
System.Delegate:DynamicInvoke (object[])
in <0x001b3> GtkSharp.voidObjectstringSignal:voidObjectstringCallback
(intptr,string,int)
in <0x00047> (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 [0x00162] (at
/usr/local/Mono/src/mono-31/monodoc-0.13/browser/browser.cs:85)
Monodoc.Driver:Main (string[])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any information would be greatly appreciated.
Thanks
Joe