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

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

  1. Create a Page property "TestPage" of type Data-Admin-Operator-ID in PegaSample.
  2. Create a Text property "TestProp" in Data-Admin-Operator-ID.
  3. Right click on PegaSample and navigate to Decision > Declare Expressions.
  4. Enter ".TestPage.TestProp" in the target property text field.
  5. Open Tracer with activity and activity steps checked in the settings.
  6. 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

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