[Mono-list] Problem compiling, any advice?

ICE ICE@rsa-clan.com
Tue, 11 Mar 2003 05:27:11 -0000


This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C2E78E.DDFC7FC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all :)  This is my first post on the mono mail list.. so go easy on =
me :P

I just wanted to ask some advice with a problem im having.

Im interested in running a UO (Ultima Online) emulator called "RunUO" =
(www.runuo.com) on my Linux box... The problem being that the .NET =
framework is needed.

Turning to mono to help me, I came across a few problems when trying to =
run the programme with Mono.

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,Mo=
no.CSharp.Location,Mono.CSharp.Expression)
in <0x0038d> 00 Mono.CSharp.SimpleName:SimpleNameResolve =
(Mono.CSharp.EmitContext,Mono.CSharp.Expression,bool)
in <0x00132> 00 Mono.CSharp.Expression:Resolve =
(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags)
in <0x00102> 00 Mono.CSharp.Argument:Resolve =
(Mono.CSharp.EmitContext,Mono.CSharp.Location)
in <0x00296> 00 Mono.CSharp.Invocation:DoResolve =
(Mono.CSharp.EmitContext)
in <0x00151> 00 Mono.CSharp.Expression:Resolve =
(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags)
in <0x0001d> 00 Mono.CSharp.StatementExpression:Resolve =
(Mono.CSharp.EmitContext)
in <0x000a9> 00 Mono.CSharp.If:Resolve (Mono.CSharp.EmitContext)
in <0x0025e> 00 Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
in <0x0025e> 00 Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
in <0x0025e> 00 Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
in <0x0025e> 00 Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
in <0x0025e> 00 Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
in <0x0010b> 00 Mono.CSharp.EmitContext:EmitTopBlock =
(Mono.CSharp.Block,Mono.CSharp.InternalParameters,Mono.CSharp.Location)
in <0x00357> 00 Mono.CSharp.EmitContext:EmitTopBlock =
(Mono.CSharp.Block,Mono.CSharp.InternalParameters,Mono.CSharp.Location)
in <0x005ad> 00 Mono.CSharp.Constructor:Emit (Mono.CSharp.TypeContainer)
in <0x0017b> 00 Mono.CSharp.TypeContainer:Emit ()
in <0x004c8> 00 Mono.CSharp.RootContext:EmitCode ()
in <0x0075d> 00 Mono.CSharp.Driver:MainDriver (string[])
in <0x0000f> 00 Mono.CSharp.Driver:Main (string[])



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:=20

http://www.runuo.com/files/index.php

If anyone can offer any assistance in helping me resolve this issue, I =
will be forever gratefull!! :)

Thanks,

-ICE-
------=_NextPart_000_000F_01C2E78E.DDFC7FC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all :)&nbsp; This is my first post =
on the mono=20
mail list.. so go easy on me :P</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I just wanted to ask some advice with a =
problem im=20
having.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Im interested in running a UO (Ultima =
Online)=20
emulator called "RunUO" (<A =
href=3D"http://www.runuo.com">www.runuo.com</A>) on my=20
Linux box... The problem being that the .NET framework is =
needed.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Turning to mono to help me, I came =
across a few=20
problems when trying to run the programme with Mono.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>RunUO starts ok with Mono... the =
scripts (written=20
in C# btw) begin to compile... but then disaster strikes and the process =
is=20
killed by the following message:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Scripts: Compiling...<BR>Unhandled =
Exception:=20
System.NullReferenceException: A null value was found where an object =
instance=20
was required<BR>in &lt;0x000cc&gt; 00 =
Mono.CSharp.Const:LookupConstantValue=20
(Mono.CSharp.EmitContext)<BR>in &lt;0x00293&gt; 00=20
Mono.CSharp.MemberAccess:ResolveMemberAccess=20
(Mono.CSharp.EmitContext,Mono.CSharp.Expression,Mono.CSharp.Expression,Mo=
no.CSharp.Location,Mono.CSharp.Expression)<BR>in=20
&lt;0x0038d&gt; 00 Mono.CSharp.SimpleName:SimpleNameResolve=20
(Mono.CSharp.EmitContext,Mono.CSharp.Expression,bool)<BR>in =
&lt;0x00132&gt; 00=20
Mono.CSharp.Expression:Resolve=20
(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags)<BR>in &lt;0x00102&gt; =
00=20
Mono.CSharp.Argument:Resolve=20
(Mono.CSharp.EmitContext,Mono.CSharp.Location)<BR>in &lt;0x00296&gt; 00=20
Mono.CSharp.Invocation:DoResolve (Mono.CSharp.EmitContext)<BR>in =
&lt;0x00151&gt;=20
00 Mono.CSharp.Expression:Resolve=20
(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags)<BR>in &lt;0x0001d&gt; =
00=20
Mono.CSharp.StatementExpression:Resolve (Mono.CSharp.EmitContext)<BR>in=20
&lt;0x000a9&gt; 00 Mono.CSharp.If:Resolve =
(Mono.CSharp.EmitContext)<BR>in=20
&lt;0x0025e&gt; 00 Mono.CSharp.Block:Resolve =
(Mono.CSharp.EmitContext)<BR>in=20
&lt;0x0025e&gt; 00 Mono.CSharp.Block:Resolve =
(Mono.CSharp.EmitContext)<BR>in=20
&lt;0x0025e&gt; 00 Mono.CSharp.Block:Resolve =
(Mono.CSharp.EmitContext)<BR>in=20
&lt;0x0025e&gt; 00 Mono.CSharp.Block:Resolve =
(Mono.CSharp.EmitContext)<BR>in=20
&lt;0x0025e&gt; 00 Mono.CSharp.Block:Resolve =
(Mono.CSharp.EmitContext)<BR>in=20
&lt;0x0010b&gt; 00 Mono.CSharp.EmitContext:EmitTopBlock=20
(Mono.CSharp.Block,Mono.CSharp.InternalParameters,Mono.CSharp.Location)<B=
R>in=20
&lt;0x00357&gt; 00 Mono.CSharp.EmitContext:EmitTopBlock=20
(Mono.CSharp.Block,Mono.CSharp.InternalParameters,Mono.CSharp.Location)<B=
R>in=20
&lt;0x005ad&gt; 00 Mono.CSharp.Constructor:Emit=20
(Mono.CSharp.TypeContainer)<BR>in &lt;0x0017b&gt; 00=20
Mono.CSharp.TypeContainer:Emit ()<BR>in &lt;0x004c8&gt; 00=20
Mono.CSharp.RootContext:EmitCode ()<BR>in &lt;0x0075d&gt; 00=20
Mono.CSharp.Driver:MainDriver (string[])<BR>in &lt;0x0000f&gt; 00=20
Mono.CSharp.Driver:Main (string[])</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am wondering if anyone can give me =
some advice on=20
what to do next. Is this a bug in mono? If so.. where should I report=20
it?..&nbsp;. If its not a bug, then any ideas on the fault?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If ya have a spare 10 mins, and wish to =
see the=20
problem for yourself, you can download the latest version of RunUO =
(small) from=20
this address: </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.runuo.com/files/index.php">http://www.runuo.com/files/=
index.php</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If anyone can offer any assistance in =
helping me=20
resolve this issue, I will be forever gratefull!! :)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-ICE-</FONT></DIV></BODY></HTML>

------=_NextPart_000_000F_01C2E78E.DDFC7FC0--