[Mono-bugs] [Bug 59189][Blo] New - AppDomain.CurrentDomain.Load fails with AssemblyName that has just a CodeBase set

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 27 May 2004 11:27:04 -0400 (EDT)


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 umuff@quark.com.

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

--- shadow/59189	2004-05-27 11:27:04.000000000 -0400
+++ shadow/59189.tmp.29268	2004-05-27 11:27:04.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 59189
+Product: Mono: Runtime
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: umuff@quark.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: AppDomain.CurrentDomain.Load fails with AssemblyName that has just a CodeBase set
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+mono --debug A.exe
+                                                                          
+                                                                          
+                  
+
+Steps to reproduce the problem:
+1. start A.exe
+
+Actual Results:
+Unhandled Exception: System.ArgumentException: assemblyRef.Name cannot be
+empty.
+Parameter name: assemblyRef
+in [0x00040] (at
+/source/go-mono.com/mcs/class/corlib/System/AppDomain.cs:405)
+System.AppDomain:Load
+(System.Reflection.AssemblyName,System.Security.Policy.Evidence)
+in <0x0006f> (wrapper remoting-invoke-with-check) System.AppDomain:Load
+(System.Reflection.AssemblyName,System.Security.Policy.Evidence)
+in [0x00007] (at
+/source/go-mono.com/mcs/class/corlib/System/AppDomain.cs:395)
+System.AppDomain:Load (System.Reflection.AssemblyName)
+in <0x0005d> (wrapper remoting-invoke-with-check) System.AppDomain:Load
+(System.Reflection.AssemblyName)
+in [0x00021] (at /source/go-mono.com/bug/A.cs:10) A:Main ()
+
+Expected Results:
+B
+
+How often does this happen? 
+every time
+
+Additional Information:
+tested on Windows with the same binaries and I get the expected results.