org.springframework.transaction.TransactionSystemException: Could not commit JCR transaction; nested exception is java.util.ConcurrentModificationException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Johan-Kees Vliek, 1 year ago
Could not commit JCR transaction; nested exception is java.util.ConcurrentModificationException
via JFrog JIRA by Johan-Kees Vliek, 1 year ago
Could not commit JCR transaction; nested exception is java.util.ConcurrentModificationException
via JFrog JIRA by Tal Abramson, 1 year ago
Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
via JFrog JIRA by Tal Abramson, 1 year ago
Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
via JFrog JIRA by Andrew Bayer, 1 year ago
Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
via JFrog JIRA by Andrew Bayer, 1 year ago
Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
java.util.ConcurrentModificationException: null
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at org.apache.jackrabbit.core.state.FineGrainedISMLocking$LockMap.hasDependency(FineGrainedISMLocking.java:407)
at org.apache.jackrabbit.core.state.FineGrainedISMLocking.acquireWriteLock(FineGrainedISMLocking.java:143)
at org.apache.jackrabbit.core.state.SharedItemStateManager.acquireWriteLock(SharedItemStateManager.java:1851)
at org.apache.jackrabbit.core.state.SharedItemStateManager.access$200(SharedItemStateManager.java:115)
at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:565)
at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1460)
at org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:163)
at org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:159)
at org.springframework.extensions.jcr.jackrabbit.support.JackRabbitUserTransaction.commit(JackRabbitUserTransaction.java:91)
at org.springframework.extensions.jcr.jackrabbit.LocalTransactionManager.doCommit(LocalTransactionManager.java:189)
at org.artifactory.jcr.JcrTransactionManager.doCommit(JcrTransactionManager.java:76)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:121)
at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:198)
at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56)
at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:184)
at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:145)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

2 times, 3 months ago
2 times, 1 year ago
Once, 1 year ago
6 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.