Support Article
pega_rules_utilites fails to compile post Pega 7.2.2 update
SA-36364
Summary
Post update to Pega 7.2.2, the pega_rules_utilites library fails to compile.
Error Messages
1. ERROR in /com/pegarules/generated/ProcessXSLT_071027_M_J_Gnia4_2wyx2U_GHKbA.java (at line 117)
tFactory.setAttribute(javax.xml.XMLConstants.ACCESS_EXTERNAL_DTD, "");
^^^^^^^^^^^^^^^^^^^
ACCESS_EXTERNAL_DTD cannot be resolved or is not a field
----------
2. ERROR in /com/pegarules/generated/ProcessXSLT_071027_M_J_Gnia4_2wyx2U_GHKbA.java (at line 118)
tFactory.setAttribute(javax.xml.XMLConstants.ACCESS_EXTERNAL_STYLESHEET, "");
^^^^^^^^^^^^^^^^^^^^^^^^^^
ACCESS_EXTERNAL_STYLESHEET cannot be resolved or is not a field
Steps to Reproduce
- Update Pega 7.1.7 to Pega 7.2.2.
- Start the system.
Root Cause
A defect or configuration issue in the operating environment.
An old version of Java 7 was used in this environment. The XMLConstants that were used by the pega_rules_utilities library in Pega 7.2.2 were not available in the old Java version.
Resolution
Make the following change to the operating environment:
Upgrade to the current version of Java.
Published February 26, 2019 - 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.