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

CPM Portal crashes after opening a delegated rule

SA-3176

Summary



Customer Process Manager (CPMPortal crashes after opening a delegated rule.

This is a brand new system in Pega 7.1.5 and CPM, has not been migrated.

Closing a delegated rules is causing error, when user tries to use a menu. 



Error Messages



Failed to find a 'RULE-OBJ-WHEN' with the name 'CPMCURRENTPORTAL' that applies to '@baseclass'. There were 1 rules with this name in the rulebase, but none matched this request. The 1 rules named 'CPMCURRENTPORTAL' defined in the rulebase are:
1 related to applies-to class '@baseclass', but were defined on subclasses: 'CPM-Portal'.
--------------------------

Caused by: com.pega.pegarules.pub.runtime.IndeterminateConditionalException: Executable.evaluateWhen-FUAFailed
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:3959)
at com.pegarules.generated.evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.evaluateWhen07_10_01(evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.java:95)
at com.pegarules.generated.evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.invoke(evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.java:70)
... 48 more
Caused by: com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'CPMCURRENTPORTAL' that applies to '@baseclass'. There were 1 rules with this name in the rulebase, but none matched this request. The 1 rules named 'CPMCURRENTPORTAL' defined in the rulebase are:
1 related to applies-to class '@baseclass', but were defined on subclasses: 'CPM-Portal'.

at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.useRuleResolutionToSelectRule(VirtualRuleTableDispatchImpl.java:645)
at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.resolveRule(VirtualRuleTableDispatchImpl.java:403)
at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:585)
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:3931)
... 69 more
2014-09-29 06:53:13,139 [machine-name] [OpenPortal] [ ] [ App:01.01.01] (l.vtable.VirtualRulesTableImpl) INFO my_server|127.0.0.1 name -
The 1 rules named 'CPMCURRENTPORTAL' defined in the rulebase are:
1 related to applies-to class '@baseclass', but were defined on subclasses: 'CPM-Portal'.

All Candidates:
2014-09-29 06:53:13,139 [machine-name] [OpenPortal] [ ] [ App:01.01.01] (l.vtable.VirtualRulesTableImpl) INFO my_server|127.0.0.1 name - Handle |Avl |Ruleset |InstanceClass |Object Class |Implementation
2014-09-29 06:53:13,139 [machine-name] [OpenPortal] [ ] [ App:01.01.01] (l.vtable.VirtualRulesTableImpl) INFO my_server|127.0.0.1 name - RULE-OBJ-WHEN CPM-PORTAL CPMCURRENTPORTAL #20140212T052139.770 GMT |Yes |PegaAppCA:07-12-01 |Rule-Obj-When |CPM-Portal |com.pegarules.generated.when.ra_when_cpmcurrentportal_1166e689c041c10d8dd2e1099134e79f
2014-09-29 06:53:13,140 [machine-name] [OpenPortal] [ ] [ App:01.01.01] ( internal.mgmt.Executable) ERROR my_server|127.0.0.1 name - RuleNotFoundException
com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'CPMCURRENTPORTAL' that applies to '@baseclass'. There were 1 rules with this name in the rulebase, but none matched this request. The 1 rules named 'CPMCURRENTPORTAL' defined in the rulebase are:
1 related to applies-to class '@baseclass', but were defined on subclasses: 'CPM-Portal'.

at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.useRuleResolutionToSelectRule(VirtualRuleTableDispatchImpl.java:645)
at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.resolveRule(VirtualRuleTableDispatchImpl.java:403)
at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:585)
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:3931)
at com.pegarules.generated.evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.evaluateWhen07_10_01(evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.java:95)
at com.pegarules.generated.evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.invoke(evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.java:70)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1203)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:930)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:815)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:348)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:778)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:312)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:240)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:480)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:285)
at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)

.. at java.lang.Thread.run(Thread.java:724)
2014-09-29 06:53:13,141 [machine-name] [OpenPortal] [ ] [ App:01.01.01] (ngineinterface.service.HttpAPI) ERROR my_server|127.0.0.1 name - 127.0.0.1: com.pega.pegarules.pub.PRRuntimeError
com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:706)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:461)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3358)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:402)
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1203)

.. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: com.pega.pegarules.pub.runtime.IndeterminateConditionalException: Executable.evaluateWhen-FUAFailed
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:3959)
at com.pegarules.generated.evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.evaluateWhen07_10_01(evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.java:95)
at com.pegarules.generated.evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.invoke(evaluateWhen_071001_PswsDzSlErP8JSFUk5QVMg.java:70)
at com.pegarules.generated.pega_uiengine_pznavigation.evaluateWhen(pega_uiengine_pznavigation.java:187)
at com.pegarules.generated.navigation.ra_action_cpmportal_usermenu_7cf9101240123a20edcd50f9a6247c04.method1_circum0(
.. at com.pegarules.generated.activity.ra_action_pxprocess_965827b173d1aa4d2322aa99b715a865.perform(ra_action_pxprocess_965827b173d1aa4d2322aa99b715a865.java:86)

at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:640)
... 48 more
Caused by: com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'CPMCURRENTPORTAL' that applies to '@baseclass'. There were 1 rules with this name in the rulebase, but none matched this request. The 1 rules named 'CPMCURRENTPORTAL' defined in the rulebase are:
1 related to applies-to class '@baseclass', but were defined on subclasses: 'CPM-Portal'.

at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.useRuleResolutionToSelectRule(VirtualRuleTableDispatchImpl.java:645)
at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.resolveRule(VirtualRuleTableDispatchImpl.java:403)
at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:585)
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:3931)
... 69 more
2014-09-29 06:53:50,371 [machine-name-2] [ STANDARD] [ ] [ App:01.01.01] (ngineinterface.service.HttpAPI) ERROR my_server|127.0.0.1 name - 127.0.0.1: com.pega.pegarules.pub.PRRuntimeError
com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:706)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:461)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3358)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:402)
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1203)

.... at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at java.lang.Thread.run(Thread.java:724)
Caused by: com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Failed to find instance @baseclass.pzPreparePortalURL
at com.pega.pegarules.session.internal.mgmt.Executable.gatherModelsToExecuteFromAncestors(Executable.java:4257)
at com.pega.pegarules.session.internal.mgmt.Executable.applyModel(Executable.java:4140)
at com.pega.pegarules.session.internal.mgmt.Executable.applyModel(Executable.java:4312)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_ee7618bc88eca02f31a91029435e6778.step1_circum0(ra_action_pzrunactionwrapper_ee7618bc88eca02f31a91029435e6778.java:326)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_ee7618bc88eca02f31a91029435e6778.perform(ra_action_pzrunactionwrapper_ee7618bc88eca02f31a91029435e6778.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:640)
... 48 more
Caused by: com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-MODEL' with the name 'PZPREPAREPORTALURL' that applies to '@baseclass'. There were 0 rules with this name in the rulebase, but none matched this request.
at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.useRuleResolutionToSelectRule(VirtualRuleTableDispatchImpl.java:645)
at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.resolve(VirtualRuleTableDispatchImpl.java:561)
at com.pega.pegarules.generation.internal.vtable.VirtualRuleTableDispatchImpl.resolveRuleFromListOfClassNames(VirtualRuleTableDispatchImpl.java:482)
at com.pega.pegarules.generation.internal.PRGenProviderImpl.getMultipleClassRelatedInstances(PRGenProviderImpl.java:606)
at com.pega.pegarules.session.internal.mgmt.Executable.gatherModelsToExecuteFromAncestors(Executable.java:4233)
... 54 more
2014-09-29 06:53:50,544 [machine-name] [ STANDARD] [ ] [ App:01.01.01] (l.vtable.VirtualRulesTableImpl) INFO my_server|127.0.0.1 name -
The 3 rules named 'PZHASSECONDARYPORTALS' defined in the rulebase are:
3 related to applies-to class '@baseclass', but were defined on subclasses: {Rule-PortalSkin, Data-Portal, Pega-Portal-Developer}.

All Candidates:
2014-09-29 06:53:50,544 [machine-name] [ STANDARD] [ ] [ App:01.01.01] (l.vtable.VirtualRulesTableImpl) INFO my_server|127.0.0.1 name - Handle |Avl |Ruleset |InstanceClass |Object Class |Implementation
2014-09-29 06:53:50,544 [machine-name] [ STANDARD] [ ] [ App:01.01.01] (l.vtable.VirtualRulesTableImpl) INFO my_server|127.0.0.1 name - RULE-OBJ-WHEN DATA-PORTAL PZHASSECONDARYPORTALS #20130919T012010.220 GMT |Final |Pega-Desktop:07-10-01 |Rule-Obj-When |Data-Portal |com.pegarules.generated.when.ra_when_pzhassecondaryportals_231c3bc33420d3b38fae3b59cb0ff2f5
2014-09-29 06:53:50,544 [machine-name] [ STANDARD] [ ] [ App:01.01.01] (l.vtable.VirtualRulesTableImpl) INFO my_server|127.0.0.1 name - RULE-OBJ-WHEN PEGA-PORTAL-DEVELOPER PZHASSECONDARYPORTALS #20130919T012022.185 GMT |Final |Pega-Desktop:07-10-01 |Rule-Obj-When |Pega-Portal-Developer |com.pegarules.generated.when.ra_when_pzhassecondaryportals_874091fd7a86b89c6020d17d3c2ed019
2014-09-29 06:53:50,544 [machine-name] [ STANDARD] [ ] [ App:01.01.01] (l.vtable.VirtualRulesTableImpl) INFO my_server|127.0.0.1 name - RULE-OBJ-WHEN RULE-PORTALSKIN PZHASSECONDARYPORTALS #20130919T012032.997 GMT |Final |Pega-Desktop:07-10-01 |Rule-Obj-When |Rule-PortalSkin |com.pegarules.generated.when.ra_when_pzhassecondaryportals_4090a85fc2c78c39e2228889f0abf4fc
2014-09-29 06:53:50,545 [machine-name] [ STANDARD] [ ] [ App:01.01.01] ( internal.mgmt.Executable) ERROR my_server|127.0.0.1 name - RuleNotFoundException
com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'PZHASSECONDARYPORTALS' that applies to '@baseclass'. There were 3 rules with this name in the rulebase, but none matched this request. The 3 rules named 'PZHASSECONDARYPORTALS' defined in the rulebase are:
3 related to applies-to class '@baseclass', but were defined on subclasses: {Rule-PortalSkin, Data-Portal, Pega-Portal-Developer}.

Steps to Reproduce

  1. Edit the pyCaseManager navigation rule in order to call the pyCMDelegatedRules harness in a popup rather than using a landing page. 
  2. Add a rule in your favorite. 
  3. Open the CaseManager portal. 
  4. Click "My Rules" menu item (see CloseButton.png) then open a rule and click Close. 
  5. Then again try to click "My Rules" menu items.

Root Cause



While closing the delegate rule, it is clear that the requestor which causes the issue.

Resolution



This issue is resolved in Pega 7.1.7.

PRPC incorrectly clears the clipboard of the portal thread causing next menu action to fail.
 

Published January 31, 2016 - 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