From: NHibernate J. <mik...@us...> - 2006-11-02 08:03:31
|
[ http://jira.nhibernate.org/browse/NH-661?page=all ] Sergey Koshcheyev closed NH-661: -------------------------------- Resolution: Fixed Should be fixed since we moved away from using a map to using a root cache key which all others depend on. > SysCache throws an NullReferenceException when clearing cache region > -------------------------------------------------------------------- > > Key: NH-661 > URL: http://jira.nhibernate.org/browse/NH-661 > Project: NHibernate > Type: Bug > Components: Contrib > Versions: 1.0.2 > Reporter: Martijn Boland > Priority: Minor > Fix For: 1.0.3 > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nhibernate.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |