[hibernate-issues] [Hibernate-JIRA] Resolved: (HSEARCH-647) WorkPlan causes ConcurrentModificationException on finding new entity types during processContainedInAndPrepareExecution
Sanne Grinovero (JIRA)
noreply at atlassian.com
Tue Dec 14 08:59:13 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanne Grinovero resolved HSEARCH-647.
-------------------------------------
Resolution: Fixed
> WorkPlan causes ConcurrentModificationException on finding new entity types during processContainedInAndPrepareExecution
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: HSEARCH-647
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-647
> Project: Hibernate Search
> Issue Type: Bug
> Components: engine
> Affects Versions: 3.3.0.CR2
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 3.3.0.Final
>
> Original Estimate: 1.5h
> Remaining Estimate: 1.5h
>
> https://forum.hibernate.org/viewtopic.php?f=9&t=1008673
> org.hibernate.HibernateException: Error while indexing in Hibernate Search (before transaction completion)
> at org.hibernate.search.backend.impl.EventSourceTransactionContext$DelegateToSynchronizationOnBeforeTx.doBeforeTransactionCompletion(EventSourceTransactionContext.java:175)
> at org.hibernate.engine.ActionQueue$BeforeTransactionCompletionProcessQueue.beforeTransactionCompletion(ActionQueue.java:543)
> at org.hibernate.engine.ActionQueue.beforeTransactionCompletion(ActionQueue.java:216)
> at org.hibernate.impl.SessionImpl.beforeTransactionCompletion(SessionImpl.java:571)
> at org.hibernate.jdbc.JDBCContext.beforeTransactionCompletion(JDBCContext.java:250)
> at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:138)
> at my.code tx.commit();
> Caused by: java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
> at java.util.HashMap$ValueIterator.next(HashMap.java:822)
> at org.hibernate.search.engine.WorkPlan.processContainedInAndPrepareExecution(WorkPlan.java:119)
> at org.hibernate.search.backend.WorkQueue.prepareWorkPlan(WorkQueue.java:133)
> at org.hibernate.search.backend.impl.BatchedQueueingProcessor.prepareWorks(BatchedQueueingProcessor.java:124)
> at org.hibernate.search.backend.impl.PostTransactionWorkQueueSynchronization.beforeCompletion(PostTransactionWorkQueueSynchronization.java:89)
> at org.hibernate.search.backend.impl.EventSourceTransactionContext$DelegateToSynchronizationOnBeforeTx.doBeforeTransactionCompletion(EventSourceTransactionContext.java:172)
> ... 7 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list