-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AsyncReadWriterLock issue still persists #3026
Comments
Created New issue AsyncReadWriterLock issue still persists #3026 |
Your report is garbled and quite minimal, it is hard to investigate on this. Can you provide a full, non corrupted stack trace? Can you also provide an example code allowing to reproduce the trouble? See here for more instructions on how to effectively report a bug. |
exc.InnerException.StackTrace |
Same here. It´s happening in the context of our automated API tests after we've upgraded NHibernate from version 5.2.7 to 5.3.11. Every call to our api runs in a unit of work, which in turn opens a new session and starts a transaction. Our test suit uses SQLiteConfiguration for InMemory database, while our running instance (which actually is working fine) uses MsSqlConfiguration.MsSql2012. This seems to be the only difference between them. The weird thing is that some tests works and some don't. If I run the failing tests individually, they succeed. I still haven't found why this happens. For now I'll downgrade it back to version 5.2.7. Hope this information helps you in some way. The exception stacktrace:
|
I had a similar exception in unit tests on NHibernate 5.3.11
Exception:
|
So, we should add a check raising |
Help diagnose nhibernate#3026 complains
Help diagnose nhibernate#3026 complains
Help diagnose nhibernate#3026 complains
This would enable to help diagnose #3026 complaints
May you check with latest 5.3.x MyGet build to check if you have still that same error? |
Thank you for your email.
I will check it out and get back to you as soon as possible.
|
I would assume that this is not an issue anymore, @iurijacob, @mohitchugh89, @mmehanosh. Let me know if you still see this issue, and I will reopen if needed. |
Cannot access a disposed name: 'AsyncReaderWriterLock'
NHibernate.Util.AsyncReaderWriterLockAssertNotDisposed()\r\n at NHibernate.Util. SystemException
waitForReadLocks)\r\n at at NHibernate.C
an at NHibernate.Engine.TwoPhaseLoad.lnitializeEntity(Object entity, Boolean readOnly, ISessionlmplementor session, PreLoadEvent preLoadEvent, PostLoadEvent postLoadEvent, Action'2 at
in, Boolean readOnly, CacheBatcher cacheBatcher)\r\n at NHibernate.Loader.Loader.DoQuery(lSessionlmplementor session, QueryParameters queryParameters, Boolean returnProxies, IResultTransformer forcedResultTransformer, QueryCac
The text was updated successfully, but these errors were encountered: