[Mono-list] monodoc - NullReferenceException when itemchoosedin topics tree

Rodolfo Campero rodolfocampero@hotmail.com
Sat, 26 Jul 2003 20:35:13 +0000


Done (with errors).
I made:

cvs -z3 update -dP mcs mono gtk-sharp monodoc
cd mono
make (I get "Nothing to be done..." for every directory)
cd ../mcs
make

at this point, some errors are reported:
Running test cs-11.cs ... FAILED
Running test cs-12.cs ... FAILED
Running test cs0035.cs ... FAILED
Running test cs0067.cs ... FAILED
Running test cs0068.cs ... FAILED
Running test cs0069.cs ... FAILED
Running test cs0071.cs ... FAILED
Running test cs0075.cs ... FAILED
Running test cs0079.cs ... FAILED
Running test cs0104.cs ...
Unhandled Exception: System.NullReferenceException: A null value was found 
where an object instance was required
in <0x0012a> 00 Mono.CSharp.DeclSpace:CheckAccessLevel (System.Type)
in <0x002d1> 00 Mono.CSharp.DeclSpace:FindType (Mono.CSharp.Location,string)
in <0x00119> 00 Mono.CSharp.SimpleName:ResolveAsTypeStep 
(Mono.CSharp.EmitContext)
in <0x00018> 00 Mono.CSharp.Expression:ResolveAsTypeTerminal 
(Mono.CSharp.EmitContext)
in <0x0005b> 00 Mono.CSharp.DeclSpace:ResolveTypeExpr 
(Mono.CSharp.Expression,bool,Mono.CSharp.Location)
in <0x001d4> 00 Mono.CSharp.TypeContainer:GetClassBases 
(bool,System.Type&,bool&)
in <0x00190> 00 Mono.CSharp.TypeContainer:DefineType ()
in <0x002ea> 00 Mono.CSharp.RootContext:ResolveTree ()
in <0x00799> 00 Mono.CSharp.Driver:MainDriver (string[])
in <0x0001b> 00 Mono.CSharp.Driver:Main (string[])
FAILED
Running test cs0116.cs ... FAILED
Running test cs0118.cs ... FAILED
Running test cs0122-2.cs ... FAILED
Running test cs0128.cs ... FAILED
Running test cs0140.cs ... FAILED
Running test cs0143.cs ... FAILED
Running test cs0164.cs ... FAILED
Running test cs0169.cs ... FAILED
Running test cs0192.cs ... FAILED
Running test cs0197.cs ... FAILED
Running test cs0198.cs ... FAILED
Running test cs0200.cs ... FAILED
Running test cs0201.cs ... FAILED
Running test cs0202.cs ... FAILED
Running test cs0214-2.cs ... FAILED
Running test cs0230.cs ... FAILED
Running test cs0234.cs ... FAILED
Running test cs0239.cs ... FAILED
Running test cs0523.cs ... FAILED
Running test cs0529.cs ... FAILED
Running test cs0536.cs ...
** ERROR **: file class.c: line 897 (mono_class_setup_vtable): should not be 
reached
aborting...
FAILED
Running test cs0649.cs ... FAILED
Running test cs0673.cs ... FAILED
Running test cs1001.cs ... FAILED
Running test cs1513.cs ... FAILED
Running test cs1518.cs ... FAILED
Running test cs1525.cs ... FAILED
Running test cs1528.cs ... FAILED
Running test cs1552.cs ... FAILED
Running test cs3005.cs ... FAILED
Running test cs8201.cs ... FAILED
Running test cs8202.cs ... FAILED
Running test cs8203.cs ... FAILED
Running test cs8204.cs ... FAILED
Running test cs8205.cs ... FAILED
Running test cs8206.cs ... FAILED
Running test cs8207.cs ... FAILED
Running test cs8208.cs ... FAILED
Running test cs8209.cs ... FAILED
Running test cs8210.cs ... FAILED
Running test cs8214.cs ... FAILED

The following tests failed:  cs-11.cs cs-12.cs cs0035.cs cs0067.cs cs0068.cs 
cs0069.cs cs0071.cs cs0075.cs cs0079.cs cs0104.cs cs0116.cs cs0118.cs 
cs0122-2.cs cs0128.cs cs0140.cs cs0143.cs cs0164.cs cs0169.cs cs0192.cs 
cs0197.cs cs0198.cs cs0200.cs cs0201.cs cs0202.cs cs0214-2.cs cs0230.cs 
cs0234.cs cs0239.cs cs0523.cs cs0529.cs cs0536.cs cs0649.cs cs0673.cs 
cs1001.cs cs1513.cs cs1518.cs cs1525.cs cs1528.cs cs1552.cs cs3005.cs 
cs8201.cs cs8202.cs cs8203.cs cs8204.cs cs8205.cs cs8206.cs cs8207.cs 
cs8208.cs cs8209.cs cs8210.cs cs8214.cs

if the file named "fail" contains the list of tests that are known to fail, 
then I'm in trouble. Anyway, I continued:

  make install (as root)

Make breaks with the following error:
make[1]: Entering directory `/usr/local/cvsroot/mcs/errors'
make[1]: *** No rule to make target `install-local', needed by `install'.  
Stop.
make[1]: Leaving directory `/usr/local/cvsroot/mcs/errors'
make: *** [install-recursive] Error 1

I tried doing ./autogen.sh in mono, but the error remains.
Should I continue and build gtk# and monodoc?

I may add that I had to compile gnome2 with --disable-gtk-doc, and my prefix 
is /usr/local/mono, and I'm using bohem's GC.


<offtopic>
I'm a former VB programmer trying to catch up with .Net and learn GNU Linux.
I'm using c# (Micros.) at work right now for database-oriented applications, 
and my english sucks.
Well, this is my background; I would really like to contribute to the 
project, and maybe this is a good
opportunity to start. If you could give a hint, I'll try to fix this bug 
myself (maybe isn't a bug at all,
just a misconfigured system).
</offtopic>

>From: Ben Maurer <bmaurer@users.sourceforge.net>
>To: Rodolfo Campero <rodolfocampero@hotmail.com>
>CC: mono-list@lists.ximian.com
>Subject: Re: [Mono-list] monodoc - NullReferenceException when 
>itemchoosedin topics tree
>Date: 26 Jul 2003 14:42:49 -0400
>
>On Sat, 2003-07-26 at 14:33, Rodolfo Campero wrote:
> > Thanks you for your interest Ben.
> > I clicked on:
> > - Mono Documentation
> > - Class Library
> > - System
> > - Activator Class
> > Always on the triangles at the left, and then on "Members" (the text). 
>All
> > were single clicks, not double clicks.
>Hmm, I am not able to reproduce this. Can you try doing a cvs update in
>mono, mcs, gtk-sharp, and monodoc, then building mono mcs and gtk#, then
>doing make clean all install in monodoc and gtk-sharp/class.
>
>-- Ben

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963