[Mono-list] Problem compiling, any advice?

Miguel de Icaza miguel@ximian.com
11 Mar 2003 11:31:25 -0500


Hello,

> RunUO starts ok with Mono... the scripts (written in C# btw) begin to
> compile... but then disaster strikes and the process is killed by the
> following message:
>  
> Scripts: Compiling...
> Unhandled Exception: System.NullReferenceException: A null value was
> found where an object instance was required
> in <0x000cc> 00 Mono.CSharp.Const:LookupConstantValue
> (Mono.CSharp.EmitContext)
> in <0x00293> 00 Mono.CSharp.MemberAccess:ResolveMemberAccess
> (Mono.CSharp.EmitContext,Mono.CSharp.Expression,Mono.CSharp.Expression,Mono.CSharp.Location,Mono.CSharp.Expression)
> in <0x0038d> 00 Mono.CSharp.SimpleName:SimpleNameResolve

This output is actually the output of an old crash on the compiler.  You
might just have an old version of the compiler.  The new compiler would
have provided more information about where it crashed.

Upgrade your compiler/mono

Miguel.