[Mono-bugs] [Bug 73145][Nor] New - mcs exception: Unhandled Exception: System.ArgumentNullException: null key

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Mar 2005 07:11:23 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dezelin@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=73145

--- shadow/73145	2005-03-01 07:11:23.000000000 -0500
+++ shadow/73145.tmp.6840	2005-03-01 07:11:23.000000000 -0500
@@ -0,0 +1,80 @@
+Bug#: 73145
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: Fedora Core 3; Mono-latest built from the source
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dezelin@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs exception: Unhandled Exception: System.ArgumentNullException: null key
+
+Description of Problem:
+
+mcs compiler throws and exception on cmpiling mscorlib.dll from modified
+source (source code is provided as an attachment).
+
+
+Steps to reproduce the problem:
+1. try to compile provided corlib
+
+Actual Results:
+[skynet@dezelin32 corlib]$ make
+make all-local
+make[1]: Entering directory `/home/skynet/farm/mono-trunk/mcs/class/corlib'
+MONO_PATH="../../class/lib/net_1_1_bootstrap:$MONO_PATH" mono 
+../../class/lib/net_1_1_bootstrap/mcs.exe /nowarn:649 /nowarn:169
+-d:INSIDE_CORLIB  -d:NET_1_1 -d:ONLY_1_1 -debug /noconfig /unsafe /nostdlib
+/target:library /out:mscorlib.dll @corlib.dll.sources
+System/_AppDomain.cs(70) error CS0246: Cannot find type 'AssemblyBuilder'
+System/_AppDomain.cs(71) error CS0246: Cannot find type 'AssemblyBuilder'
+System/_AppDomain.cs(72) error CS0246: Cannot find type 'AssemblyBuilder'
+System/_AppDomain.cs(73) error CS0246: Cannot find type 'AssemblyBuilder'
+System/_AppDomain.cs(74) error CS0246: Cannot find type 'AssemblyBuilder'
+System/_AppDomain.cs(76) error CS0246: Cannot find type 'AssemblyBuilder'
+System/_AppDomain.cs(79) error CS0246: Cannot find type 'AssemblyBuilder'
+System/_AppDomain.cs(81) error CS0246: Cannot find type 'AssemblyBuilder'
+System/_AppDomain.cs(84) error CS0246: Cannot find type 'AssemblyBuilder'
+System.Runtime.InteropServices/ITypeLibConverter.cs(42) error CS0246:
+Cannot find type 'AssemblyBuilder'
+System.Runtime.InteropServices/ITypeLibConverter.cs(43) error CS0246:
+Cannot find type 'AssemblyBuilder'
+
+Unhandled Exception: System.ArgumentNullException: null key
+Parameter name: key
+in <0x0015c> System.Collections.Hashtable:get_Item (System.Object key)
+in <0x0002c> Mono.CSharp.TypeManager:GetArgumentTypes
+(System.Reflection.MethodBase mb)
+in <0x0028c> Mono.CSharp.PendingImplementation:.ctor
+(Mono.CSharp.TypeContainer container, .MissingInterfacesInfo[]
+missing_ifaces, System.Collections.ArrayList abstract_methods, Int32 total)
+in <0x00101> Mono.CSharp.PendingImplementation:GetPendingImplementations
+(Mono.CSharp.TypeContainer container)
+in <0x0000a> Mono.CSharp.ClassOrStruct:GetPendingImplementations ()
+in <0x00294> Mono.CSharp.TypeContainer:DoDefineMembers ()
+in <0x0002a> Mono.CSharp.TypeContainer:DefineMembers
+(Mono.CSharp.TypeContainer container)
+in <0x0030b> Mono.CSharp.RootContext:PopulateTypes ()
+in <0x00b6d> Mono.CSharp.Driver:MainDriver (System.String[] args)
+in <0x0000f> Mono.CSharp.Driver:Main (System.String[] args)
+make[1]: *** [../../class/lib/default/mscorlib.dll] Error 1
+make[1]: Leaving directory `/home/skynet/farm/mono-trunk/mcs/class/corlib'
+make: *** [all.real] Error 2
+
+
+Expected Results:
+Compiled corlib.dll
+
+How often does this happen? 
+Always
+
+
+Additional Information:
+Check the attachment