How to transform a JSON Array to Code-Pega-List
I am using, ClipboardPage.adoptJSONArray, but fails with following exception
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures}
2019-03-06 11:04:49,532 [ttp-nio-8080-exec-91] [ STANDARD] [ ] [AEG_BaseDev:01.01.01] ( internal.mgmt.Executable) ERROR Proprietary information hidden| Proprietary information hidden Proprietary information hidden - Exception
com.pega.pegarules.pub.clipboard.InvalidParameterException: invalid mode '?'. Only JavaObject, String, or Page is allowed. Details: Invalid value for aMode passed to com.pega.platform.clipboard.adapters.internal.LegacyPropertyAdapter.getValue(char)
at com.pega.platform.clipboard.adapters.internal.LegacyPropertyAdapter.getValue(LegacyPropertyAdapter.java:999) ~[clipboard.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.mimic(ClipboardPropertyImpl.java:1534) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putCopy(ClipboardPageImpl.java:3156) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putAll(ClipboardPageImpl.java:2948) ~[prprivate.jar:?]
I am using, ClipboardPage.adoptJSONArray, but fails with following exception
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures}
2019-03-06 11:04:49,532 [ttp-nio-8080-exec-91] [ STANDARD] [ ] [AEG_BaseDev:01.01.01] ( internal.mgmt.Executable) ERROR Proprietary information hidden| Proprietary information hidden Proprietary information hidden - Exception
com.pega.pegarules.pub.clipboard.InvalidParameterException: invalid mode '?'. Only JavaObject, String, or Page is allowed. Details: Invalid value for aMode passed to com.pega.platform.clipboard.adapters.internal.LegacyPropertyAdapter.getValue(char)
at com.pega.platform.clipboard.adapters.internal.LegacyPropertyAdapter.getValue(LegacyPropertyAdapter.java:999) ~[clipboard.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.mimic(ClipboardPropertyImpl.java:1534) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putCopy(ClipboardPageImpl.java:3156) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putAll(ClipboardPageImpl.java:2948) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putAll(ClipboardPageImpl.java:2595) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putAllAndReconcileRefProps(ClipboardPageImpl.java:2562) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.replace(ClipboardPageBase.java:435) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.replace(ClipboardPageImpl.java:108) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.replace(ClipboardPageBase.java:1464) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.replace(ClipboardPageImpl.java:108) ~[prprivate.jar:?]
at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_7a0ac17a006fc1a32ec6d786a4c6154e.step5_circum0(ra_action_pyrunrecordexecute_7a0ac17a006fc1a32ec6d786a4c6154e.java:484) ~[?:?]
at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_7a0ac17a006fc1a32ec6d786a4c6154e.perform(ra_action_pyrunrecordexecute_7a0ac17a006fc1a32ec6d786a4c6154e.java:147) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3421) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10794) ~[prprivate.jar:?]
at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.step11_circum0(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:1012) ~[?:?]
at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.perform(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:246) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3421) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:484) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3467) ~[prprivate.jar:?]
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:417) ~[prenginext.jar:?]
at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source) ~[?:?]
***Edited by Moderator: Lochan to mask proprietary information***