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
- Edit the prpcutils.properties file.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.