SysCache throws an NullReferenceException when clearing cache region

Description

Seen in a production environment: after a while SysCache starts to throw nullreference exceptions when clearing cache regions:

2006-06-20 11:03:51,390 [3768] ERROR Cuyahoga.Web.Admin.NodeEdit [(null)] <(null)> - Error saving Node
System.NullReferenceException: Object reference not set to an instance of an object.
at NHibernate.Caches.SysCache.SysCache.Clear()
at NHibernate.Cache.StandardQueryCache.Clear()
at NHibernate.Impl.SessionFactoryImpl.EvictQueries(String cacheRegion)
at Cuyahoga.Core.Service.CoreRepository.ClearQueryCache(String cacheRegion)
at Cuyahoga.Web.Admin.NodeEdit.SaveNode()
at Cuyahoga.Web.Admin.NodeEdit.btnSave_Click(Object sender, EventArgs e)

Restarting the ASP.NET process solves the issue.

I'm aware that this is not a very detailed issue description, but unfortunately, I haven't been able to reproduce this in a non-production environment.

Environment

None

Activity

Show:

Former user November 2, 2006 at 12:02 AM

Should be fixed since we moved away from using a map to using a root cache key which all others depend on.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created July 4, 2006 at 5:39 AM
Updated July 12, 2008 at 1:41 PM
Resolved November 2, 2006 at 12:02 AM
Who's Looking?