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

Extra getJSON calls during delta sync

SA-50886

Summary



In Pega Mobility, when calling getJSON in some ways it sorts the property names in the resulting JSON output.

The JDK Collator object it uses to do that sorting has various synchronized methods that is causing contention.

Across all threads, it’s causing 55 seconds of contention that causes more than 8,000 blocks.

Seen calls to getJSON are:


com.pegarules.generated.activity.ra_action_pzstoreandforwardprocessitems_80fe4207e1f24f9ac5b8b212fe95bbf6.step5_12_circum0() ra_action_pzstoreandforwardprocessitems_80fe4207e1f24f9ac5b8b212fe95bbf6.java:2145

com.pegarules.generated.activity.ra_action_pzdatasynchandlechanges_5707432dd9d65d06661108043dc6e30a.step1_circum0() ra_action_pzdatasynchandlechanges_5707432dd9d65d06661108043dc6e30a.java:193 377899

com.pegarules.generated.activity.ra_action_pzdatasyncgetworklist_15ca5410a8797055cc1db150d98083f1.step3_circum0() ra_action_pzdatasyncgetworklist_15ca5410a8797055cc1db150d98083f1.java:282 87154



Error Messages



Not Applicable


Steps to Reproduce



Perform delta sync on mobile application.


Root Cause



A defect in Pegasystems’ code or rules: unnecessary calls to getJSON() need to be removed.

Resolution



Apply HFix-41097.

Published April 12, 2018 - 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