Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Interaction Work Objects cannot be opened

SA-11849

Summary



There is an error whenever an interaction work object is opened from the work list. A concurrent modification exception was observed in log during iteration.

java.util.ConcurrentModificationException
at java.util.HashMap$AbstractMapIterator.checkConcurrentMod(HashMap.java:197)
at java.util.HashMap$AbstractMapIterator.makeNext(HashMap.java:202)
at java.util.HashMap$ValueIterator.next(HashMap.java:287)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getMessageCountAll(ClipboardPageImpl.java:4255)
at com.pegarules.generated.html_harness.ra_stream_cpmperform_99ff7548397ca808d2b589791e4a6745.include_1(ra_stream_cpmperform_99ff7548397ca808d2b589791e4a6745.java:8018)
at com.pegarules.generated.html_harness.ra_stream_cpmperform_99ff7548397ca808d2b589791e4a6745.generatePegaHarnessDiv_18(ra_stream_cpmperform_99ff7548397ca808d2b589791e4a6745.java:621)
at com.pegarules.generated.html_harness.ra_stream_cpmperform_99ff7548397ca808d2b589791e4a6745.executeStream_3(ra_stream_cpmperform_99ff7548397ca808d2b589791e4a6745.java:10403)
at com.pegarules.generated.html_harness.ra_stream_cpmperform_99ff7548397ca808d2b589791e4a6745.execute(ra_stream_cpmperform_99ff7548397ca808d2b589791e4a6745.java:108)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3908)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:3736)
at com.pegarules.generated.activity.ra_action_show_harness_3a715fceb3725b54f857d8327a1c5bba.step6_circum0(ra_action_show_harness_3a715fceb3725b54f857d8327a1c5bba.java:684)
at


Error Messages



Error trying to process **Interaction**

Steps to Reproduce



Open an interaction work object from work list.

Root Cause



The root cause of this problem is a defect in Pegasystems’ code or rules.

Resolution



Use a toArray instead of iterating directly. This avoids concurrent modification exception during iteration. Use toArray() API to create a copy, and then iterate on the array.

​Apply HFix-22897.

Published February 9, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us