Support Article
Automated test case is failing
SA-31153
Summary
An error occurs when executing an automated test case on a service rule. The same test case ran without issue on the prior version of PRPC 6.2 SP2.
Error Messages
com.pega.pegarules.pub.clipboard.InvalidParameterException: cannot be null. Details: Invalid value for aValue passed to com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.add()
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.add(ClipboardPropertyBase.java:2447)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.add(ClipboardPropertyBase.java:2442)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.add(ClipboardPropertyBase.java:2438)
at com.pega.pegarules.priv.integration.xml.ParseXMLSAXRuleWrapper.prPutAll(ParseXMLSAXRuleWrapper.java:3160)
at com.pega.pegarules.priv.integration.xml.ParseXMLSAXRuleWrapper.prPutAll(ParseXMLSAXRuleWrapper.java:3107)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putAll(ClipboardPageImpl.java:2756)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putAll(ClipboardPageImpl.java:2640)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.putAllAndReconcileRefProps(ClipboardPageImpl.java:2608)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.replace(ClipboardPageBase.java:547)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.replace(ClipboardPageImpl.java:481)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.replace(ClipboardPageBase.java:1512)
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.replace(ClipboardPageImpl.java:481)
at com.pegarules.generated.activity.ra_action_gatherrulespecificresults_594f612df174d468b5bdb14e9159e0d5.step8_circum0(ra_action_gatherrulespecificresults_594f612df174d468b5bdb14e9159e0d5.java:638)
at com.pegarules.generated.activity.ra_action_gatherrulespecificresults_594f612df174d468b5bdb14e9159e0d5.perform(ra_action_gatherrulespecificresults_594f612df174d468b5bdb14e9159e0d5.java:192)
Steps to Reproduce
- Open an existing service rule with an associated test case and run it accordingly.
- Observe the failure to complete and the full error in the logs.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the local change mentioned in the following article:
https://pdn.pega.com/support-articles/parse-xml-values-are-not-mapped-correctly-clipboard
Published December 14, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.