Monodoc error

View: New views
6 Messages — Rating Filter:   Alert me  

Monodoc error

by rk14 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am very new to Mono & MonoDoc. Apologies if i am missing something very basic.

We use monodoc to generate internal API documentation. Our monodoc webserver is ok, but monodoc is unable to load the main menu. Instead i get an error such as -

Server Error in '/' Application

--------------------------------------------------------------------------------

Object reference not set to an instance of an object
Description: HTTP 500. Error processing request.

Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an object
  at Monodoc.RootTree.LoadTree (System.String basedir) [0x00000]
  at Monodoc.RootTree.LoadTree () [0x00000]
  at Mono.Website.Handlers.MonodocHandler..cctor () [0x00000]  

--------------------------------------------------------------------------------

I am unable to determine if this is a problem on the webserver side or a problem with the actual documentation itself.

I would appreciate any pointers in the right direction.

Thanks.

Re: Monodoc error

by Jonathan Pryor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-08-21 at 13:44 -0700, rk14 wrote:
> I am very new to Mono & MonoDoc. Apologies if i am missing something very
> basic.

Sorry for the delay.

Which version of Mono is this?

> We use monodoc to generate internal API documentation. Our monodoc webserver
> is ok, but monodoc is unable to load the main menu. Instead i get an error
> such as -
>
> Server Error in '/' Application

This confuses me.  What do you mean that the "monodoc webserver" is OK,
show a message saying "Server Error in '/' Application".  Shouldn't the
"Server Error" message should be coming from the monodoc webserver?

Further confusing things, there is a Gtk# 'monodoc' GUI program, but I
find it highly unlikely that it would show a Server Error message...

> I am unable to determine if this is a problem on the webserver side or a
> problem with the actual documentation itself.

There shouldn't be issues with the documentation itself, though there
may be something wrong with either the
$prefix/lib/mono/gac/monodoc/*/monodoc.dll.config file or the
$prefix/lib/monodoc/monodoc.xml file...

Knowing which version of Mono is involved (so I can see which versino of
LoadTree() is being used) would help.

Thanks,
 - Jon


_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list@...
http://lists.ximian.com/mailman/listinfo/mono-docs-list

Re: Monodoc error

by rk14 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mono version info is -
Mono Version: 2.0.50727.1433;
ASP.NET Version: 2.0.50727.1433

Sorry for the confusing wording. Yes, the message is coming from the XSP
server. I'm unable to find any logging from XSP for more details.

Thanks,
roopa


-----Original Message-----
From: Jonathan Pryor [mailto:jonpryor@...]
Sent: Friday, September 11, 2009 11:10 AM
To: Roopa Krishnan
Cc: mono-docs-list@...
Subject: Re: [Mono-docs-list] Monodoc error

On Fri, 2009-08-21 at 13:44 -0700, rk14 wrote:
> I am very new to Mono & MonoDoc. Apologies if i am missing something
very
> basic.

Sorry for the delay.

Which version of Mono is this?

> We use monodoc to generate internal API documentation. Our monodoc
webserver
> is ok, but monodoc is unable to load the main menu. Instead i get an
error
> such as -
>
> Server Error in '/' Application

This confuses me.  What do you mean that the "monodoc webserver" is OK,
show a message saying "Server Error in '/' Application".  Shouldn't the
"Server Error" message should be coming from the monodoc webserver?

Further confusing things, there is a Gtk# 'monodoc' GUI program, but I
find it highly unlikely that it would show a Server Error message...

> I am unable to determine if this is a problem on the webserver side or
a
> problem with the actual documentation itself.

There shouldn't be issues with the documentation itself, though there
may be something wrong with either the
$prefix/lib/mono/gac/monodoc/*/monodoc.dll.config file or the
$prefix/lib/monodoc/monodoc.xml file...

Knowing which version of Mono is involved (so I can see which versino of
LoadTree() is being used) would help.

Thanks,
 - Jon


_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list@...
http://lists.ximian.com/mailman/listinfo/mono-docs-list

Re: Monodoc error

by Jonathan Pryor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-09-11 at 11:25 -0700, Roopa Krishnan wrote:
> Mono version info is -
> Mono Version: 2.0.50727.1433;
> ASP.NET Version: 2.0.50727.1433

That's not a mono version, that's an assembly version.

What's the output of 'mono --version'?

 - Jon


_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list@...
http://lists.ximian.com/mailman/listinfo/mono-docs-list

Re: Monodoc error

by rk14 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here's the output of mono --version. We just install our version of the
monodoc package that includes our company logo etc.

Mono JIT compiler version 2.4 (pacbio-2.4-2 Wed May 27 13:50:18 PDT
2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors.
www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none

roopa

-----Original Message-----
From: Jonathan Pryor [mailto:jonpryor@...]
Sent: Friday, September 11, 2009 11:47 AM
To: Roopa Krishnan
Cc: mono-docs-list@...
Subject: Re: [Mono-docs-list] Monodoc error

On Fri, 2009-09-11 at 11:25 -0700, Roopa Krishnan wrote:
> Mono version info is -
> Mono Version: 2.0.50727.1433;
> ASP.NET Version: 2.0.50727.1433

That's not a mono version, that's an assembly version.

What's the output of 'mono --version'?

 - Jon


_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list@...
http://lists.ximian.com/mailman/listinfo/mono-docs-list

Re: Monodoc error

by Jonathan Pryor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You say you're using xsp?

Please run xsp with MONO_OPTIONS=--debug set, as that will provide line
numbers.

My current guess is that you're missing a monodoc.xml file, which should
be installed to $prefix/lib/monodoc/monodoc.xml.

Thanks,
 - Jon


_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list@...
http://lists.ximian.com/mailman/listinfo/mono-docs-list