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

Error on clearing parameterized declarative node page

SA-90435

Summary

Error on clearing the parameterized declarative node page through System Management Application(SMA).

Error Messages

Exception during engine invocation:
pega.pegarules.management.internal.DeclarativePageCacheManagementAPI.ClearSharedPages
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: pega.pegarules.management.internal.DeclarativePageCacheManagementAPI.ClearSharedPages(DeclarativePageCacheManagementAPI.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
pega.pegarules.management.internal.MB2EngineAccess.invoke(MB2EngineAccess.java:169)
pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invoke_privact(EngineImpl.java:364)
pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.run(EngineImpl.java:349)
pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1177)
pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:926)
pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:777)
pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:323)
pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)

 

Steps to Reproduce

Clear the parameterized declarative page. 

Root Cause



A defect in Pegasystems’ code or rules. The SMA does not read pzInsKey. It must clear the data pages.

Resolution



Perform the following local-change:
  1. Use the FlushDeclarativePage activity to flush data page
  2. Use the below code in a Java step in a case in which all instances of the same data page across nodes must be removed:
     pega.getDeclarativePageUtils().deleteAllInstancesOfDeclarativePage("Page Name");
     

 

Published 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