[Mono-bugs] [Bug 518001] New: Running monodoc with --edit causes exceptions everywhere

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 30 16:42:49 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=518001


           Summary: Running monodoc with --edit causes exceptions
                    everywhere
    Classification: Mono
           Product: Mono: Doctools
           Version: 2.4.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Gui
        AssignedTo: mario.sopena at gmail.com
        ReportedBy: cdhowie at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11)
Gecko/2009061317 Iceweasel/3.0.11 (Debian-3.0.11-1)

When running monodoc with --edit, an exception is raised when I try to view
anything under the toplevel node for the edited documentation (this means
namespaces, classes, members, whatever).  This same exception happens when
viewing some other, system documentation, but only when --edit is used.

I have observed this with Monodoc 2.4, 2.4.2, both with GtkHtml and WebKit.

Reproducible: Always

Steps to Reproduce:
1. Make documentation structure with mdoc update --out=docs
2. Run monodoc --edit docs
3. Try to view the documentation.
Actual Results:  
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle
the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.ArgumentNullException: Argument cannot be
null.
Parameter name: path
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions
options) [0x00000] 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess
access, FileShare share) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] 
  at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor (System.String name) [0x00000] 
  at Monodoc.HelpSource.GetHelpXmlWithChanges (System.String id) [0x00000] 
  at Monodoc.EcmaHelpSource.RenderNamespaceLookup (System.String nsurl,
Monodoc.Node& match_node) [0x00000] 
  at Monodoc.RootTree.RenderUrl (System.String url, Monodoc.Node& match_node)
[0x00000] 
  at Monodoc.TreeBrowser.RowActivated (System.Object sender, System.EventArgs
a) [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args)
[0x00000] 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs
args) [0x00000] 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val,
UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr
marshal_data) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean
is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val,
UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr
marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Monodoc.Driver.Main(System.String[] args)

Expected Results:  
Monodoc should not disappear.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list