YAFLogo

midwestSS
  • midwestSS
  • 100% (Exalted)
  • YAF MVP Topic Starter
14 years ago
every so often, users get logged off, and this is in the event log


System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at YAF.Providers.Roles.YafRoleProvider.GetRolesForUser(String username)
   at YAF.Classes.Core.RoleMembershipHelper.GetRolesForUser(String username)
   at YAF.Classes.Core.RoleMembershipHelper.UpdateForumUser(MembershipUser user, Int32 pageBoardID)
   at YAF.Classes.Core.UserPageBase.InitUserAndPage() 
 

Sponsor
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
14 years ago
Should be fixed in the latest code.