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

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

  1. Open an existing service rule with an associated test case and run it accordingly.
  2. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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