Close popover
Yuji Wakisaka (YujiW777)
EY Advisory & Consulting Co., Ltd.

EY Advisory & Consulting Co., Ltd.
YujiW777 Member since 2018 4 posts
EY Advisory & Consulting Co., Ltd.
Posted: April 24, 2019
Last activity: May 22, 2019

WrongModeException with Property-Set and StringBuffer-Append

Hello, everyone.

I sometimes encountered WrongModeException when editing Activities, using Property-Set method or StringBuffer-Append method in Pega 7.3.1.

The message displayed is as following:
" The property RH_1.pySteps(2).pyStepsCallParams.pyStepsParamUI was of mode String while was expecting a List or Page mode. Details: (none)"

At first, I thought that something wrong occured with the parameter type of Property-Set or StringBuffer-Append.
However, when I look at the Clipboard, the parameters of Property-Set and StringBuffer-Append are stored in RH_1.pySteps(n).pyParamArray(m), not RH_1.pySteps(n).pyStepsCallParams.pyStepsParamUI.

(For other methods (such as Property-Map-DecisionTable, Log-Message, and so on), the parameters were stored in RH_1.pySteps (n) .pyStepsCallParams.pyStepsParamUI.)

Can anyone help me to clarify the following points ?
* Why does the program which raised the Exception check elements other than where the parameters are stored with Property-Set and StringBuffer-Append ?
* How can I avoid this Exception ?

Thanks in advance.

Data Integration Java and Activities