[jboss-jira] [JBoss JIRA] Created: (JBID-129) java.util.ConcurrentModificationException in HibernateIdentityStoreImpl class
Jeff Yu (JIRA)
jira-events at lists.jboss.org
Mon Jun 15 08:54:07 EDT 2009
java.util.ConcurrentModificationException in HibernateIdentityStoreImpl class
-----------------------------------------------------------------------------
Key: JBID-129
URL: https://jira.jboss.org/jira/browse/JBID-129
Project: JBoss Identity
Issue Type: Bug
Components: IDM
Affects Versions: idm-1.0.0.Alpha5
Reporter: Jeff Yu
Assignee: Jeff Yu
Fix For: IDFED-1.0.0.beta1
The test case for this error is:
Group dept = identitySession.getPersistenceManager().createGroup("sales-dept", GROUP);
User u1 = identitySession.getPersistenceManager().createUser("jeff1");
User u2 = identitySession.getPersistenceManager().createUser("jeff2");
RoleType developer = identitySession.getRoleManager().createRoleType("developer");
identitySession.getRoleManager().createRole(developer, u1, dept);
identitySession.getRoleManager().createRole(developer, u2, dept);
identitySession.getPersistenceManager().removeGroup(dept, true);
----------------------------------------------------------------------------------------------
Exception stack:
------------------------------------
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
at java.util.HashMap$KeyIterator.next(HashMap.java:877)
at org.hibernate.collection.AbstractPersistentCollection$IteratorProxy.next(AbstractPersistentCollection.java:577)
at org.jboss.identity.idm.impl.store.hibernate.HibernateIdentityStoreImpl.removeIdentityObject(HibernateIdentityStoreImpl.java:500)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list