Nhibernate null reference exception during database connection
See the question and my original answer on StackOverflowThis is probably a multi-threading issue, not directly related to NHibernate, see the same question and answer here: Throw a NullReferenceException while calling the set_item method of a Dictionary object in a multi-threding scenario