[jboss-jira] [JBoss JIRA] Updated: (JBID-129) java.util.ConcurrentModificationException in HibernateIdentityStoreImpl class
Jeff Yu (JIRA)
jira-events at lists.jboss.org
Mon Jun 15 08:55:57 EDT 2009
[ https://jira.jboss.org/jira/browse/JBID-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated JBID-129:
-------------------------
Fix Version/s: idm-1.0.0.Beta1
(was: IDFED-1.0.0.beta1)
> 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: idm-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