Support Article
Cannot save rule due to java compile errors
SA-8855
Summary
When a developer tries to save ListofValidCorrs from PegaProcom ruleset to a custom ruleset version, it will not save due to Java compile errors.
Error Messages

Steps to Reproduce
Perform a 'Save As' of activity ListofValidCorrs from the PegaProcom ruleset to a custom ruleset version.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. The issue is found on activity rule form where the Java API version drop-down is defaulting to 03-02 (irrespective of what is selected). This causes the activity to compile on current Pega API and throws compilation errors on classes and methods from the legacy API that are still used in the ListofValidCorrs activity.
Resolution
This issue is resolved by Hfix-21372. After installing the hotfix, execute the following query on PRPC schema (on PegaRULES schema, if split schema setup) and then restart the server(s).
delete from PR_ASSEMBLEDCLASSES where PZCLASS like 'ra_stream_pzsteps\_%' escape '\'
Published January 31, 2016 - 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.