[Mono-list] Problem compiling, any advice?

Paolo Molaro lupus@ximian.com
Tue, 11 Mar 2003 10:33:19 +0100

On 03/11/03 ICE wrote:
> 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)

This is a bug in the compiler.

> I am wondering if anyone can give me some advice on what to do next. Is this a bug in mono? If so.. where should I report it?.. . If its not a bug, then any ideas on the fault?
> If ya have a spare 10 mins, and wish to see the problem for yourself, you can download the latest version of RunUO (small) from this address: 
> http://www.runuo.com/files/index.php

That link requires registering and god knows what else to be able to
download the file. Please provide that actual files to compile or, if
you can't distribute them, try to extract a simple test case that
triggers the issue.



lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better