Support Article

ArrayIndexOutOfBoundsException thrown for decision tree



When a decision tree is run by users or accessed by developers in the Developer Studio, an ArrayIndexOutOfBoudsException is thrown.

Error Messages

Caused by: java.lang.ArrayIndexOutOfBoundsException: 4
at com.pega.pegarules.generation.internal.assembly.AppRuleAssembler.noteAssemblyFunctionUsed(

Steps to Reproduce

Execute the decision tree or open the rule in the Developer portal.

Root Cause

A hot fix included changes to the AppRuleAssembler.noteAssemblyFunctionUsed() to set data in array index 4. The installation of this hot fix requires the libraries and functions to be regenerated.


Perform the following steps:
  1. Shut down all the servers.
  2. Remove the PegaRULES_Extract_Marker.txt file from the prTemp directory for all nodes on the cluster.
  3. Restart the nodes.


Published October 31, 2016 - Updated November 8, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.