Closed
Description
Every now and then, we see the following exception in our logs:
System.InvalidOperationException: Enumerator was modified
at NHibernate.Util.SequencedHashMap.OrderedEnumerator.MoveNext()
at NHibernate.Engine.StatefulPersistenceContext.AfterTransactionCompletion()
at NHibernate.Impl.SessionImpl.AfterTransactionCompletion(Boolean success, ITransaction tx)
at NHibernate.Transaction.AdoNetWithSystemTransactionFactory.SystemTransactionContext.CompleteTransaction(Boolean isCommitted)
To be honest, we have no idea where it exactly comes from or when it occurs. It's quite rare and we haven't been able to reproduce it.
However, it seems to be very similar to #1216. Is it possible this issue wasn't completely fixed?