[Mono-docs-list] Docbrowser Editor Bugs
Jonathan Pryor
jonpryor at vt.edu
Mon May 16 22:23:52 EDT 2005
I've encountered two bugs when using `monodoc`:
1. I can't edit namespace summaries (this also exists when not using
--edit as well). For example, select the Class Library/System node,
which displays the text:
The System namespace contains the fundamental types of the
runtime, including the Object, Int32, and String types.
[Edit]
Click the [Edit] link, and you'll see a blank page, with the
following displayed on the console:
Trying:
+----------------------------------------------+
| Here we should locate the provider for the |
| link. Maybe using this document as a base? |
| Maybe having a locator interface? The short|
| urls are not very useful to locate types |
+----------------------------------------------+
(<unknown>:18609): gtkhtml-CRITICAL **: file gtkhtml-stream.c: line 75
(gtk_html_stream_write): assertion `size > 0' failed
2. When using `monodoc --edit DIR`, monodoc dies whenever I try to edit
a non-namespace node. For example, select the
Class Library/System/Activator Class node, and click any [Edit]
link. Monodoc will exit, with the following printed on the console:
Node is:
edit:monodoc%3a%2f%2f5%400%40%2f@%2fType%20%5b%40FullName%20%3d%20%27System.Activator%27%5d%2fDocs%2fsummary
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 <0x000cf> Monodoc.Browser:LoadUrl (System.String url)
in <0x00040> Monodoc.Browser:LinkClicked (System.Object o,
Gtk.LinkClickedArgs args)
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[])
in [0x00044] (at
/home/jon/Projects/mono-HEAD/mcs/class/corlib/System.Reflection/MonoMethod.cs:127)
System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture)--- End of inner exception stack
trace ---
in [0x0006b] (at /home/jon/Projects/mono-HEAD/mcs/class/corlib/System.Reflection/MonoMethod.cs:133)
System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
in [0x00006] (at /home/jon/Projects/mono-HEAD/mcs/class/corlib/System.Reflection/MethodBase.cs:80)
System.Reflection.MethodBase:Invoke (System.Object obj, System.Object[] parameters)
in [0x0005e] (at /home/jon/Projects/mono-HEAD/mcs/class/corlib/System/Delegate.cs:239)
System.Delegate:DynamicInvokeImpl (System.Object[] args)
in [0x0001a] (at /home/jon/Projects/mono-HEAD/mcs/class/corlib/System/MulticastDelegate.cs:68)
System.MulticastDelegate:DynamicInvokeImpl (System.Object[] args)
in [0x00002] (at /home/jon/Projects/mono-HEAD/mcs/class/corlib/System/Delegate.cs:227)
System.Delegate:DynamicInvoke (System.Object[] args)
in <0x00136> GtkSharp.voidObjectstringSignal:voidObjectstringCallback
(IntPtr arg0, System.String arg1, Int32 key)
in (wrapper native-to-managed)
GtkSharp.voidObjectstringSignal:voidObjectstringCallback (intptr,intptr,int)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00302> Monodoc.Driver:Main (System.String[] args)
Thanks,
- Jon
More information about the Mono-docs-list
mailing list