[Mono-list] MBAS fails on simple hello world application
Akhilesh Agarwal
akhilesh_agarwal@msn.com
Sun, 7 Sep 2003 01:04:44 +0530
This is a multi-part message in MIME format.
------=_NextPart_000_0000_01C374DC.10FED870
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hi,
I tried compiling the attached VB.NET file (a simple one line hello =
world application) using Mono 0.26 mbas on Redhat 9. It gives the =
following error:
Unhandled Exception: System.ArgumentNullException: Argument cannot be =
null
Parameter name: null key
in <0x00076> 00 System.Collections.Hashtable:Find (object)
in <0x0001b> 00 System.Collections.Hashtable:GetImpl (object)
in <0x00014> 00 System.Collections.Hashtable:get_Item (object)
in <0x0004d> 00 Mono.CSharp.TypeManager:LookupType (string)
in <0x00160> 00 Mono.Languages.Driver:IsSWFApp ()
in <0x0007c> 00 Mono.Languages.Driver:FixEntryPoint ()
in <0x0005b> 00 Mono.Languages.Driver:GenerateAssembly ()
in <0x0005f> 00 Mono.Languages.Driver:CompileAll ()
in <0x00045> 00 Mono.Languages.Driver:MainDriver (string[])
in <0x0003d> 00 Mono.Languages.Driver:Main (string[])
I can compile this file without any problem using Microsoft .NET vbc.exe =
on Windows XP.
Should I file a bug, or I am doing something wrong? Can anyone try =
compiling test.vb which is attached and see if they get any errors?
Akhilesh Agarwal
------=_NextPart_000_0000_01C374DC.10FED870
Content-Type: text/plain;
name="test.vb.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="test.vb.txt"
module test
sub main()
System.Console.WriteLine("Hello World!")
end sub
end module
------=_NextPart_000_0000_01C374DC.10FED870--