mail-archives/mono-bugs/2005-June/030283.html

142 строки
5.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 75231][Nor] New - AppDomain AssemblyResolve event
is not fired
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075231%5D%5BNor%5D%20New%20-%20AppDomain%20AssemblyResolve%20event%0A%09is%20not%20fired&In-Reply-To=bug-75231%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="030282.html">
<LINK REL="Next" HREF="030284.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 75231][Nor] New - AppDomain AssemblyResolve event
is not fired</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075231%5D%5BNor%5D%20New%20-%20AppDomain%20AssemblyResolve%20event%0A%09is%20not%20fired&In-Reply-To=bug-75231%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 75231][Nor] New - AppDomain AssemblyResolve event
is not fired">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Sat Jun 11 10:38:10 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="030282.html">[Mono-bugs] [Bug 75230][Nor] Changed - [PATCH] Uri.CheckHostName
considers host name with trailing dot invalid
</A></li>
<LI>Next message: <A HREF="030284.html">[Mono-bugs] [Bug 75231][Nor] Changed - AppDomain AssemblyResolve
event is not fired
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30283">[ date ]</a>
<a href="thread.html#30283">[ thread ]</a>
<a href="subject.html#30283">[ subject ]</a>
<a href="author.html#30283">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75231">http://bugzilla.ximian.com/show_bug.cgi?id=75231</A>
--- shadow/75231 2005-06-11 10:38:10.000000000 -0400
+++ shadow/75231.tmp.11876 2005-06-11 10:38:10.000000000 -0400
@@ -0,0 +1,68 @@
+Bug#: 75231
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be</A>
+QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: AppDomain AssemblyResolve event is not fired
+
+For some reason, the AppDomain.AssemblyResolve event does not fire when
+an assembly cannot be resolved for a type references in a non-default
+domain.
+
+To reproduce this issue, extract the attached gzipped tar archive and
+run &quot;make&quot;.
+
+----------
+
+Actual result:
+
+** (test.exe:18889): WARNING **: The following assembly referenced
+from /home/monohead/mono-test-projects/runtime-bug/test.exe could not be
+loaded:
+ Assembly: ICSharpCode.SharpCvsLib (assemblyref_index=2)
+ Version: 0.36.4902.7334
+ Public Key: (none)
+The assembly was not found in the Global Assembly Cache, a path listed in
+the MONO_PATH environment variable, or in the location of the executing
+assembly (/home/monohead/mono-test-projects/runtime-bug/).
+
+
+** (test.exe:18889): WARNING **: Missing method GetCvsDateString in
+assembly /home/monohead/mono-test-projects/runtime-bug/test.exe, type
+ICSharpCode.SharpCvsLib.Util.DateParser
+
+Unhandled Exception: System.Reflection.TargetInvocationException:
+Exception has been thrown by the target of an invocation.
+
+Server stack trace:
+
+
+Exception rethrown at [0]:
+ ---&gt; System.NullReferenceException: Object reference not set to an
+instance of an object--- End of inner exception stack trace ---
+
+in (wrapper xdomain-invoke) System.AppDomain:DoCallBack
+(System.CrossAppDomainDelegate)
+in (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack
+(System.CrossAppDomainDelegate)
+in &lt;0x001ac&gt; EntryPoint:Main ()
+make: *** [run] Error 1
+
+----------
+
+Expected result:
+
+AssemblyResolve event fired!
+
+(this is the result you get on MS.NET)
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="030282.html">[Mono-bugs] [Bug 75230][Nor] Changed - [PATCH] Uri.CheckHostName
considers host name with trailing dot invalid
</A></li>
<LI>Next message: <A HREF="030284.html">[Mono-bugs] [Bug 75231][Nor] Changed - AppDomain AssemblyResolve
event is not fired
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30283">[ date ]</a>
<a href="thread.html#30283">[ thread ]</a>
<a href="subject.html#30283">[ subject ]</a>
<a href="author.html#30283">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>