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

Deploying an application fails on using an auto deployed tool

SA-50170

Summary



Deployment fails with ArrayIndexOutOfBoundsException when calling prpcutil.sh within a custom auto deployed tool.


Error Messages



ERROR - Error occurred while preloading declare pages
java.lang.ArrayIndexOutOfBoundsException: -1
at com.pega.pegarules.exec.internal.declare.infengine.cbi.GlobalDeclarativeClass.populateRuleProps(GlobalDeclarativeClass.java:514)
at com.pega.pegarules.exec.internal.declare.infengine.cbi.GlobalDeclarativeClass.listChangeDefinitions(GlobalDeclarativeClass.java:432)
at com.pega.pegarules.exec.internal.declare.infengine.cbi.GlobalDeclarativeClass.<init>(GlobalDeclarativeClass.java:258)
at com.pega.pegarules.exec.internal.declare.infengine.cbi.GlobalCache.getGlobalClass(GlobalCache.java:669)
at com.pega.pegarules.exec.internal.declare.infengine.cbi.DeclarativeCacheManagerImpl.getGlobalClass(DeclarativeCacheManagerImpl.java:1588)



Steps to Reproduce

  1. Edit the prpcutils.properties file.
  2. Run the prpcutils.sh import.


Root Cause



The utils folder in prpcutils.properties file was referring to the Pega 7.1.6 media. Pega 7.2.2 was not compatible with Pega 7.1.6 utils. As a result, JVM did not work correctly.


Resolution



Update the scripts to point to Pega 7.2.2 media.


Published February 11, 2018 - 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