[Mono-bugs] [Bug 620411] RewritePath crashes with an unidentified null reference exeption in PostAcquireRequestState
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Jul 8 07:01:10 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=620411
http://bugzilla.novell.com/show_bug.cgi?id=620411#c7
--- Comment #7 from Marek Habersack <mhabersack at novell.com> 2010-07-08 13:01:09 CEST ---
Created an attachment (id=374548)
--> (http://bugzilla.novell.com/attachment.cgi?id=374548)
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: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list