Support Article

Unable to create a new ruleset version



Post upgrade to Pega 7.1.7, unable to create a new ruleset version and an error occurs.

Error Messages

java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2
    at com.pegarules.generated.activity.ra_action_pzgetnextrulesetversion_ecbe772d50b5bd80c1d61e332ed767fa.step1_circum0(
    at com.pegarules.generated.activity.ra_action_pzgetnextrulesetversion_ecbe772d50b5bd80c1d61e332ed767fa.perform(
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(
    at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(
    at com.pegarules.generated.activity.ra_action_pzgetrulesetversion_60e51d14df8b4cc77cf1d8f0e863d63b.step7_circum0(
    at com.pegarules.generated.activity.ra_action_pzgetrulesetversion_60e51d14df8b4cc77cf1d8f0e863d63b.perform(

Steps to Reproduce

In the ruleset form,  create a new ruleset version on click of the '+' icon.

Root Cause

A ruleset which contains an empty versionID with non-versioned rules exists.
For example, application rules and ruleset versions.


Perform the following local-change:

Delete the ruleset version whose versionID is null.


Published December 10, 2018 - Updated January 9, 2019

Have a question? Get answers now.

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