Support Article
Rule gets corrupted while saving
SA-33475
Summary
When checking in a rule, the rule becomes corrupted. As a result, the rule form does not display. However, on searching for the rule name in the Search bar, the rule displays and is checked out. Hence, unable to open or modify the rule in that particular ruleset version and error occurs.
Error Messages
Status fail
Message There has been an issue; please consult your system administrator"
com.pega.pegarules.pub.clipboard.InvalidReferenceException: The reference .pyDelegationsForRuleType(@baseclass) is not valid. Reason: unexpected character '@' at position 26, expected subscript
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.initialize(PropertyReferenceImpl.java:3013)
at com.pega.pegarules.data.internal.clipboard.PropertyReferencePoolImpl.get(PropertyReferencePoolImpl.java:99)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.subReference(PropertyReferenceImpl.java:3625)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.removeLastProperty(PropertyReferenceImpl.java:2800)
at com.pega.pegarules.data.internal.clipboard.PropertyReferenceImpl.initialize(PropertyReferenceImpl.java:3198)
at com.pega.pegarules.data.internal.clipboard.PropertyReferencePoolImpl.get(PropertyReferencePoolImpl.java:122)
at com.pega.pegarules.data.internal.clipboard.PropertyReferencePoolImpl$StaticHelper.get(PropertyReferencePoolImpl.java:165)
at com.pega.pegarules.data.external.clipboard.PropertyReferencePool.get(PropertyReferencePool.java:62)
at com.pega.pegarules.session.internal.mgmt.Executable.getAnyValueViaPropRef(Executable.java:10046)
at com.pega.pegarules.session.internal.mgmt.Executable.getStringValueViaPropRef(Executable.java:10191)
at com.pegarules.generated.activity.ra_action_wbtoolbarddsettings_9a469343ff55b48369ec8575895d72dc.step12_circum0(ra_action_wbtoolbarddsettings_9a469343ff55b48369ec8575895d72dc.java:1386)
at com.pegarules.generated.activity.ra_action_wbtoolbarddsettings_9a469343ff55b48369ec8575895d72dc.perform(ra_action_wbtoolbarddsettings_9a469343ff55b48369ec8575895d72dc.java:258)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3505)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10563)
Steps to Reproduce
Not Applicable
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
- Private-Edit the WBToolBarDDSettings activity.
- Expand the Property set (12th step).
- Modify the local.ruleType property value to @(Pega-RULES:String).replaceAll(@(Pega-RULES:String).replaceAll(.pxObjClass,'-',""),'@',"").
- Save the activity.
- Open the activity.
Published October 7, 2018 - 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.