[
https://hibernate.onjira.com/browse/HHH-7265?page=com.atlassian.jira.plug...
]
Scott Marlow commented on HHH-7265:
-----------------------------------
We have an AS7 test case that involves posting a REST request to recreate.
From
http://pastie.org/3819424, I can see that its the
org.hibernate.ejb.EntityManagerImpl$1.afterCompletion synchronization.
org.hibernate.ejb.EntityManagerImpl$1.afterCompletion calls SessionImpl.close()
SessionImpl.close() calls TransactionCoordinatorImpl.close()
TransactionCoordinatorImpl.close() calls TransactionCoordinatorImpl.reset()
TransactionCoordinatorImpl.reset() calls
SynchronizationRegistryImpl.clearSynchronizations()
SynchronizationRegistryImpl.clearSynchronizations() clears the synchronizations
ConcurrentModificationException in
SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion due to
SynchronizationRegistryImpl.clearSynchronizations clearing
SynchronizationRegistryImpl.synchronizations
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: HHH-7265
URL:
https://hibernate.onjira.com/browse/HHH-7265
Project: Hibernate ORM
Issue Type: Bug
Components: core
Affects Versions: 4.1.2
Environment: AS7 7.1.1
Reporter: Scott Marlow
Fix For: 4.1.3
forum post link here includes the AS7 test case and description
https://community.jboss.org/thread/197649?start=0&tstart=0
http://pastie.org/3819424 is the call stack showing
SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion looping on
synchronization which is cleared mid-loop by
SynchronizationRegistryImpl.clearSynchronizations
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira