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

Index regeneration fails while running ReCreateIndexesForClass



The developer needs to regenerate the indexes of a class in their application. They executed the standard activity named Code-.ReCreateIndexesForClass to create index instances for all instances in a concrete source class but faced an error.

Error Messages

 Problems were encountered when regenerating indexes--see log for details: code: <none> SQLState: <none> Message: <none>

Logs: 2016-05-02 14:14:22,253 [ STANDARD] [ PegaRULES:07.10] ( internal.access.DatabaseImpl) ERROR| Remote.Support - Encountered problem when performing a Commit
2016-05-02 14:14:22,256 [ STANDARD] [ PegaRULES:07.10] (sForInstance._baseclass.Action) ERROR | Remote.Support - Problem updating instance PEGASAMPLE W-232

Steps to Reproduce

  1. Open standard activity RecreateIndexesForClass
  2. Execute with class parameter <ClassName>

Root Cause

A defect in Pegasystems’ code or rules :
The activity being used by customer is not production ready.


User needs to update to Pega version 7.2.1 in order to use the activity effectively.
In Pega 7.2.1, A new REST service pzExposeColsService is added to handle index regeneration requests from prpcServiceUtils.bat/sh
It forwards the request to an activity "pzRunExposeColsHandler" which does the index generation job
Both the rest service or the activity takes the parameters "list of classes" and include descendants
as in the column populate API

Published July 2, 2016 - 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