[Mono-bugs] [Bug 56996][Wis] New - NullReferenceException in Cache.Remove()

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Apr 2004 09:47:29 -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 mono-bug@jerryweb.info.

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

--- shadow/56996	2004-04-14 09:47:29.000000000 -0400
+++ shadow/56996.tmp.11739	2004-04-14 09:47:29.000000000 -0400
@@ -0,0 +1,53 @@
+Bug#: 56996
+Product: Mono: Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Gentoo
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mono-bug@jerryweb.info               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: NullReferenceException in Cache.Remove()
+
+Description of Problem:
+NullReferenceException in Cache.Remove()
+
+Steps to reproduce the problem:
+Run the following ASP.NET page
+
+===========================================
+<%@ Page Language="C#" %>
+<% Cache.Remove("Test"); %>
+OK
+===========================================
+
+Actual Results (Mono - CVS 2004-04-12):
+
+System.NullReferenceException: Object reference not set to an instance of
+an object
+in <0x00460> System.Web.Caching.Cache:UpdateCache
+(string,System.Web.Caching.CacheEntry,bool,System.Web.Caching.CacheItemRemovedReason)
+in <0x00035> System.Web.Caching.Cache:Remove
+(string,System.Web.Caching.CacheItemRemovedReason)
+in <0x00017> System.Web.Caching.Cache:Remove (string)
+in <0x0003a> ASP.test_aspx:__RenderTree
+(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
+in <0x0005a> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_HtmlTextWriter_Control
+(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
+in <0x00048> System.Web.UI.Control:RenderChildren
+(System.Web.UI.HtmlTextWriter)
+in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter)
+in <0x0001c> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter)
+in <0x0041f> System.Web.UI.Page:InternalProcessRequest ()
+in <0x0008d> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
+in <0x00327> ExecuteHandlerState:Execute ()
+in <0x00084> StateMachine:ExecuteState
+(System.Web.HttpApplication/IStateHandler,bool&)