[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6746) ConcurrentModificationException in org.hibernate.connection.DriverManagerConnectionProvider.close()

Nikita D (JIRA) noreply at atlassian.com
Wed Oct 19 09:05:19 EDT 2011


ConcurrentModificationException in org.hibernate.connection.DriverManagerConnectionProvider.close()
---------------------------------------------------------------------------------------------------

                 Key: HHH-6746
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6746
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.3
            Reporter: Nikita D
            Priority: Minor


A java.util.ConcurrentModificationException is thrown intermittently from DriverManagerConnectionProvider.close(). This is the stacktrace:

{code}
java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
	at java.util.AbstractList$Itr.next(AbstractList.java:343)
	at org.hibernate.connection.DriverManagerConnectionProvider.close(DriverManagerConnectionProvider.java:175)
	at org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:965)
        at [my code]
{code}

All the other methods in that class synchronize their access to the pool ArrayList, but close() does not (even though it iterates over the list).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list