[ubuntu-mono] [Bug 370859] [NEW] monodoc --edit crashes on newly created doc
Almacha
almacha at almacha.org
Sat May 2 14:59:53 BST 2009
Public bug reported:
I wanted to document my C# project so I did:
monodocer -assembly:path-to-the-DLL -path:docfiles
Then:
monodoc --edit docfiles
It opens and shows my library in the list, but when I try to look in it, monodoc crashes and I get these messages in the console:
node `embed' is not defined on the documentation map
Loading uncompiled help from docfiles
using GtkHtml
using GtkHtml
Marshaling changed signal
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)
To reproduce:
1. Download docfiles.tar.gz (attached) which are my project documentation
2. untar it
3. Do: monodoc --edit docfiles
4. Try to look in "AchaMachines"
** Affects: mono-tools (Ubuntu)
Importance: Undecided
Status: New
--
monodoc --edit crashes on newly created doc
https://bugs.launchpad.net/bugs/370859
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to mono-tools in ubuntu.
More information about the Ubuntu-mono
mailing list