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

Failures in RUFs after upgrading to Pega 7.2.2



Rule-Utility-function(RUF) getXpathNode is behaving differently after upgrading to Pega 7.2.2.

User has a data page Declare_Products in the environment which is not getting loaded because of the upgrade. This is working fine in another environment which is on Pega 7.2.

Error Messages

Not applicable

Steps to Reproduce

1) Log into Application.
2) Run the data page that uses the RUF.

Root Cause

The classes that are being referred in this function getXPathNode are coming from ‘net.sf.saxon.xpath.*’, whereas the same classes are coming from ‘*’ in another environment which is on Pega 7.2 in which there is no issue.


Change the RUF code to fetch XPathFactory.newInstance(); as new XPathFactoryImpl() and import package "" in Imports & Exceptions tab of the RUF. 

This will make to use the implementation of """ instead of "net.sf.saxon.xpath.XPathFactoryImpl".

Published January 5, 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