Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4069

ISPN000926 errors caused by ConcurrentModificationException when using ClusteredJobFailOverListener

XMLWordPrintable

    • 2021 Week 49-51 (from Dec 6th), 2022 Week 02-04 (from Jan 10)

      Starting a number of process instances which contain async nodes concurrently results in the following intermittent error:

      15:35:43,424 ERROR [org.infinispan.commons.tx.TransactionImpl] (default task-63) ISPN000926: afterCompletion() failed for SynchronizationAdapter{localTransaction=LocalTransaction{remoteLockedNodes=[mweiler, mweiler], isMarkedForRollback=false, lockedKeys=[], backupKeyLocks=[], topologyId=31, stateTransferFlag=null} org.infinispan.transaction.synchronization.SyncLocalTransaction@59} org.infinispan.transaction.synchronization.SynchronizationAdapter@78: org.infinispan.commons.CacheException: Could not commit.
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.transaction.impl.TransactionTable.afterCompletion(TransactionTable.java:863)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:33)
      	at org.infinispan.commons@9.4.23.Final-redhat-00001//org.infinispan.commons.tx.TransactionImpl.notifyAfterCompletion(TransactionImpl.java:512)
      	at org.infinispan.commons@9.4.23.Final-redhat-00001//org.infinispan.commons.tx.TransactionImpl.runCommit(TransactionImpl.java:338)
      	at org.infinispan.commons@9.4.23.Final-redhat-00001//org.infinispan.commons.tx.TransactionImpl.commit(TransactionImpl.java:110)
      	at org.infinispan.commons@9.4.23.Final-redhat-00001//org.infinispan.commons.tx.TransactionManagerImpl.commit(TransactionManagerImpl.java:73)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.cache.impl.CacheImpl.tryCommit(CacheImpl.java:2021)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.cache.impl.CacheImpl.executeCommandWithInjectedTx(CacheImpl.java:1941)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1914)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1430)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:2040)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:230)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:448)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:729)
      	at org.infinispan@9.4.23.Final-redhat-00001//org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:448)
      	at deployment.kie-server.war//org.kie.server.services.jbpm.cluster.InfinispanClusterAwareService.addData(InfinispanClusterAwareService.java:165)
      	at deployment.kie-server.war//org.kie.server.services.jbpm.cluster.ClusteredJobFailOverListener.afterJobScheduled(ClusteredJobFailOverListener.java:71)
      ...
      Caused by: java.util.ConcurrentModificationException
      	at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1042)
      	at java.base/java.util.ArrayList$Itr.next(ArrayList.java:996)
      	at org.infinispan.commons@9.4.23.Final-redhat-00001//org.infinispan.commons.marshall.MarshallUtil.marshallCollection(MarshallUtil.java:242)
      	at org.infinispan.commons@9.4.23.Final-redhat-00001//org.infinispan.commons.marshall.MarshallUtil.marshallCollection(MarshallUtil.java:221)
      
      

       

              antferna Antonio Fernandez Alhambra (Inactive)
              rhn-support-mputz Martin Weiler (Inactive)
              Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
              Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: