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

  1. Update Pega 7.1.7 to Pega 7.2.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 April 11, 2017 - Updated February 25, 2019


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.