Support Article
ConcurrentModificationException occurs in Reference properties
SA-41666
Summary
ConcurrentModificationException occurs in Reference properties, in Predictive Diagnostic Cloud (PDC), when looping through the backreferences and modifying the backreferences in the call stack.
Error Messages
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.remove(HashMap.java:1443)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getBackReferences(ClipboardPageImpl.java:5622)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImplWithSynchronizedBackreferences.getBackReferences(ClipboardPageImplWithSynchronizedBackreferences.java:51)
at com.pega.pegarules.data.internal.clipboard.ReferencePropertyLinkToClipboardPage.invokeGetBackRefsIfSourceWasPresent(ReferencePropertyLinkToClipboardPage.java:140)
at com.pega.pegarules.data.internal.clipboard.ReferencePropertyLinkToClipboardPage.getSource(ReferencePropertyLinkToClipboardPage.java:123)
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.getNewNamedRef(AfterCopy_ReferencePropertyDuplicator.java:245)
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.setReferenceAs(AfterCopy_ReferencePropertyDuplicator.java:202)
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.handleOneForwardReference(AfterCopy_ReferencePropertyDuplicator.java:167)
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.handleForwardReferences(AfterCopy_ReferencePropertyDuplicator.java:141)
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator.execute(AfterCopy_ReferencePropertyDuplicator.java:111)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.copy(ClipboardPageImpl.java:627)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.copy(ClipboardPageImpl.java:595)
Steps to Reproduce
Unknown
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
- Apply HFix-32830.
- Restart the nodes after applying the hotfix.
Published December 17, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.