Support Article
BadClassDefinitionException while check-in declare expression
SA-14579
Summary
Exception related to BadClassDefinitionException observed in logs when saving a declare expression to another ruleset and checking-in.
No thread dump is observed in the log file.
Error Messages
BadClassDefinitionException: Attempting to access a rule with a bad defined-on class: UNDEFINED
Steps to Reproduce
- Create a Page property "TestPage" of type Data-Admin-Operator-ID in PegaSample.
- Create a Text property "TestProp" in Data-Admin-Operator-ID.
- Right click on PegaSample and navigate to Decision > Declare Expressions.
- Enter ".TestPage.TestProp" in the target property text field.
- Open Tracer with activity and activity steps checked in the settings.
- Click Create to create the Declare Expression.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Install HFix-23496.
Published October 6, 2015 - 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.