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

Log File Error: "PYCOUNTBYSTAGE" of class Rule-Obj-Report-Defin



Post upgrade to Pega Platform 8.3.1, error is generated in the log files upon every user access.

Error Messages

ERROR| HRManager - Error in Obj-Open Attempting to access a rule with a bad defined-on class: Trying to open rule "PYCOUNTBYSTAGE" of class "Rule-Obj-Report-Definition", but no defined-on class (pyClassName) was specified.   

        at ~[prprivate-data.jar:?] 

        at ~[prprivate-data.jar:?] 

        at ~[prprivate-data.jar:?] 

        at ~[prprivate-data.jar:?] 

        at ~[prprivate-data.jar:?] 

        at ~[prprivate-data.jar:?] 

        at ~[prprivate-data.jar:?] 

        at ~[prprivate-data.jar:?] 

        at ~[prpublic.jar:?] 

        at com.pegarules.generated.activity.ra_action_pxretrievereportdata_cac8de8e3b057ffdf1489873d1047caf.step5_circum0( ~[?:?]

Steps to Reproduce

Not Applicable

Root Cause

A software use or operation error.
pzRemoveDataPage is invoked during the Refresh Current Harness with the parameter as D_CaseStageCount' to remove the data page from the Clipboard. This activity uses the Param.DataPage as a Step page. Hence, the data page (Load activity) is reloaded without a class name.


Perform the following local-change:

Use pyRemoveDataPage instead of the pzRemoveDataPage out-of-the-box activity.

Published July 15, 2020 - Updated December 2, 2021

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