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



Deployment fails with ArrayIndexOutOfBoundsException when calling 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(
at com.pega.pegarules.exec.internal.declare.infengine.cbi.GlobalDeclarativeClass.listChangeDefinitions(
at com.pega.pegarules.exec.internal.declare.infengine.cbi.GlobalDeclarativeClass.<init>(
at com.pega.pegarules.exec.internal.declare.infengine.cbi.GlobalCache.getGlobalClass(
at com.pega.pegarules.exec.internal.declare.infengine.cbi.DeclarativeCacheManagerImpl.getGlobalClass(

Steps to Reproduce

  1. Edit the file.
  2. Run the import.

Root Cause

The utils folder in 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.


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