Support Article
Error occurs when clicking MultiSelect control
SA-97768
Summary
After moving Product rule from Pega Platform 8.2 to Pega Platform 8.3.1, error occurs on clicking a MultiSelect control.
Error Messages
Error on screen:
There has been an issue, please consult your administrator
Error in the logs:
Exception
java.lang.ClassCastException: com.google.gson.JsonObject cannot be cast to com.google.gson.JsonArray
at com.pegarules.generated.activity.ra_action_pzgetacdata_997cd58fc3627d5c1f6cb3ece25342da.step4_circum0(ra_action_pzgetacdata_997cd58fc3627d5c1f6cb3ece25342da.java:703) ~[?:?]
Steps to Reproduce
Click a MultiSelect control.
Root Cause
A defect in Pegasystems’ code or rules.
The control expected the source pagelist to be named as '.pxResults'.
Resolution
Perform the following local-change:
- Copy the data to a pagelist named .pxResults in the MultiSelect's pre-activity.
- Update the control's source list to reference the new pxResults pagelist.
Published July 15, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.