mail-archives/mono-bugs/2010-July/102022.html

102 строки
4.4 KiB
HTML
Исходник Обычный вид История

2019-06-06 22:03:35 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20620411%5D%20RewritePath%20crashes%20with%20an%20unidentified%0A%20null%20reference%20exeption%20in%20PostAcquireRequestState&In-Reply-To=bug-620411-28286%40http.bugzilla.novell.com/">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="102021.html">
<LINK REL="Next" HREF="102025.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20620411%5D%20RewritePath%20crashes%20with%20an%20unidentified%0A%20null%20reference%20exeption%20in%20PostAcquireRequestState&In-Reply-To=bug-620411-28286%40http.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState">bugzilla_noreply at novell.com
</A><BR>
<I>Thu Jul 8 07:01:10 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="102021.html">[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState
</A></li>
<LI>Next message: <A HREF="102025.html">[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#102022">[ date ]</a>
<a href="thread.html#102022">[ thread ]</a>
<a href="subject.html#102022">[ subject ]</a>
<a href="author.html#102022">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=620411">http://bugzilla.novell.com/show_bug.cgi?id=620411</A>
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=620411#c7">http://bugzilla.novell.com/show_bug.cgi?id=620411#c7</A>
--- Comment #7 from Marek Habersack &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mhabersack at novell.com</A>&gt; 2010-07-08 13:01:09 CEST ---
Created an attachment (id=374548)
--&gt; (<A HREF="http://bugzilla.novell.com/attachment.cgi?id=374548">http://bugzilla.novell.com/attachment.cgi?id=374548</A>)
proposed_fix.diff
OK, that sheds more light on the issue. The thing being null is
HttpContext.Current.CurrentHandler which caused the script module in
System.Web.Extensions to throw the NREX. The above attachment contains a
proposed fix which checks for null as it should. I've committed it to
mono/trunk in r160044, but I will not commit it to 2.6 until you will have
confirmed that it does fix the issue for you and that it does not break
anything for you. HttpContext.CurrentHandler shouldn't be null at this point,
so this fix is just a workaround, but in the absence of a test case I cannot
offer the real fix at this point.
Please let me know if it worked for you.
--
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="102021.html">[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState
</A></li>
<LI>Next message: <A HREF="102025.html">[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#102022">[ date ]</a>
<a href="thread.html#102022">[ thread ]</a>
<a href="subject.html#102022">[ subject ]</a>
<a href="author.html#102022">[ 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>