Support Article

Unable to create a new ruleset version

SA-69597

Summary



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


Error Messages



Exception
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2
    at com.pegarules.generated.activity.ra_action_pzgetnextrulesetversion_ecbe772d50b5bd80c1d61e332ed767fa.step1_circum0(ra_action_pzgetnextrulesetversion_ecbe772d50b5bd80c1d61e332ed767fa.java:162)
    at com.pegarules.generated.activity.ra_action_pzgetnextrulesetversion_ecbe772d50b5bd80c1d61e332ed767fa.perform(ra_action_pzgetnextrulesetversion_ecbe772d50b5bd80c1d61e332ed767fa.java:69)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
    at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)
    at com.pegarules.generated.activity.ra_action_pzgetrulesetversion_60e51d14df8b4cc77cf1d8f0e863d63b.step7_circum0(ra_action_pzgetrulesetversion_60e51d14df8b4cc77cf1d8f0e863d63b.java:992)
    at com.pegarules.generated.activity.ra_action_pzgetrulesetversion_60e51d14df8b4cc77cf1d8f0e863d63b.perform(ra_action_pzgetrulesetversion_60e51d14df8b4cc77cf1d8f0e863d63b.java:174)
    ..



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.



Resolution



Perform the following local-change:

Delete the ruleset version whose versionID is null.



 

Published December 10, 2018 — Updated January 10, 2019

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.