Concurrent modification exception with Pega 7.1.9
SummaryUsers have customized Pega API REST service to retrieve and update the case.
They are facing issue when they try to update the case using REST service and are unable to capture the defect in tracer as it works perfectly fine when tracer is been run.
Without the tracer it is throwing 500 internal error.
In logs, user could see ConcurrentModificationException whenever they try to update the case using PUT method.
Steps to Reproduce
- Create REST API service which retrieves the case data in json (GET method).
- Try to update the case using the json file in PUT method.
Root CauseA defect in Pegasystems’ code or rules.
In ClipboardPageImpl.trackAllFirstLevelProperties() replacing iterator with toarray caused the issue.
Published May 5, 2017 - Updated May 16, 2017