FS#35874 - [mono-tools][mono] Monodoc browser failure on start due to unhandled exception

Attached to Project: Arch Linux
Opened by Alex (alexru) - Friday, 21 June 2013, 10:52 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 30 May 2014, 14:37 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
run monodoc from console
grep: /etc/gre.d/*.conf: No such file or directory

Unhandled Exception:
System.TypeLoadException: Could not load type 'Monodoc.EditMerger' from assembly 'monodoc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Monodoc.EditMerger' from assembly 'monodoc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'.
---

if xulrunner installed also this string appears:
/usr/bin/monodoc: line 66: cd: /usr/bin//usr/lib/xulrunner-21.0: No such file or directory

if run from monodevelop:
MonoDoc exited with exit code 1.


Steps to reproduce:
run monodoc

Packages:
mono-tools 2.10-2
mono 3.0.7-1

Other user affected by this bug http://archlinux.org.ru/forum/topic/11830/
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Friday, 30 May 2014, 14:37 GMT
Reason for closing:  Fixed
Comment by Alex (alexru) - Monday, 24 June 2013, 13:10 GMT
it looks like upstream bug. There is no EditMerger class in monodoc.dll assembly, and I don't see it mono sources since 2.11. I copied monodoc/editing.cs into 3.07 sources and it compiled succesfully, but now another exception thrown
Unhandled Exception:
System.MissingMethodException: Method not found: 'Monodoc.RootTree.LoadTree'.
at Monodoc.Browser..ctor (System.String basedir, IEnumerable`1 sources, System.String engine) [0x00000] in <filename unknown>:0
at Monodoc.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'Monodoc.RootTree.LoadTree'.
at Monodoc.Browser..ctor (System.String basedir, IEnumerable`1 sources, System.String engine) [0x00000] in <filename unknown>:0
at Monodoc.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
Comment by Isenmann Daniel (ise) - Tuesday, 25 June 2013, 19:02 GMT
I have asked the upstream developers if they plan to update their mono-tools sources. I will keep you updated about their answer
Comment by Alex (alexru) - Wednesday, 26 June 2013, 12:32 GMT
ok, thank you.

I am wondered why second exception thrown, because LoadTree method with needed signature exists:
class Driver {
public static RootTree LoadTree (string basedir, IEnumerable<string> sourcedirs)
{
var root = RootTree.LoadTree (basedir);
...

Monodoc.dll:
.namespace Monodoc
{
.class public auto ansi beforefieldinit RootTree
extends Monodoc.Tree
{

.method public static hidebysig default class Monodoc.RootTree LoadTree (string basedir, [opt] bool includeExternal) cil managed
Comment by Florian (nblock) - Tuesday, 22 October 2013, 15:14 GMT
Any news on that one?
Comment by Babken Vardanyan (axper) - Wednesday, 19 February 2014, 10:14 GMT Comment by Babken Vardanyan (axper) - Saturday, 17 May 2014, 17:40 GMT
This appears to be fixed now. I can run monodoc without problems.

Loading...