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

Error on using Connect REST rules post upgrade to Pega 7.4

SA-68512

Summary



Errors occur while using Connect REST rules post upgrade to Pega 7.4.


Error Messages


 

Caught unhandled exception: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.HashMap 

 

Steps to Reproduce


 
  1. Upgrade from PRPC 6.2 to Pega 7.4
  2. Access the Connect REST rules


Root Cause



The pyinvokeconnectrest rule was copied to the custom ruleset. The same rule from previous version was invoked after the upgrade. 

Resolution


Mark as Not available or Delete the pyInvokeconnectrest rule in the custom ruleset.

 

Suggest Edit

Published January 3, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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