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

SA-97941

Summary



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


Error Messages



ERROR yourdomain.pegacloud.io|127.0.0.1 HRManager - Error in Obj-Open 

com.pega.pegarules.pub.database.BadClassDefinitionException: 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 com.pega.pegarules.data.internal.access.RuleResolver.lookupFirstLevelCandidates(RuleResolver.java:2309) ~[prprivate-data.jar:?] 

        at com.pega.pegarules.data.internal.access.RuleResolver.getFirstLevelCandidates(RuleResolver.java:1905) ~[prprivate-data.jar:?] 

        at com.pega.pegarules.data.internal.access.RuleResolver.getFirstLevelCandidates(RuleResolver.java:1810) ~[prprivate-data.jar:?] 

        at com.pega.pegarules.data.internal.access.RuleResolver.resolveRuleToCandidate(RuleResolver.java:780) ~[prprivate-data.jar:?] 

        at com.pega.pegarules.data.internal.access.RuleResolver.resolveRuleToCandidate(RuleResolver.java:747) ~[prprivate-data.jar:?] 

        at com.pega.pegarules.data.internal.access.RuleResolver.resolveRule(RuleResolver.java:701) ~[prprivate-data.jar:?] 

        at com.pega.pegarules.data.internal.access.Opener.open(Opener.java:2160) ~[prprivate-data.jar:?] 

        at com.pega.pegarules.data.internal.access.DatabaseImpl.open(DatabaseImpl.java:2604) ~[prprivate-data.jar:?] 

        at com.pega.pegarules.pub.runtime.AbstractActivity.objOpen(AbstractActivity.java:80) ~[prpublic.jar:?] 

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


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.


Resolution



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