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

NullPointerException occurs when calling Property-Set-XML

SA-44578

Summary



Calling Property-Set-XML from an activity fails with a NullPointerException.


Error Messages

Tracer shows a NullPointerException.

Exception from log file is shown below:


Exception
java.lang.NullPointerException
at com.pega.pegarules.exec.internal.declare.infengine.cbi.FlexibleReference.isReferenceValid(FlexibleReference.java:227)
at com.pega.pegarules.exec.internal.declare.infengine.cbi.FlexibleReference.isReferenceValid(FlexibleReference.java:215)
at com.pega.pegarules.exec.internal.declare.infengine.cbi.FlexibleReference.getAllApplicableRules(FlexibleReference.java:274)
at com.pega.pegarules.exec.internal.declare.infengine.cbi.FlexibleReference.produceChainingRuleDesignations(FlexibleReference.java:309)
at com.pega.pegarules.exec.internal.declare.infengine.cbi.AtomicChangeReferenceImpl.collectMatchingRuleDesignations(AtomicChangeReferenceImpl.java:480)
...



Steps to Reproduce

Call Property-Set-XML, which invokes an XML Stream rule, in an activity.


Root Cause

A defect in Pegasystems’ code or rules.


Resolution

Apply HFix-37674.


Published October 12, 2017 - 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