Support Article
Index regeneration fails while running ReCreateIndexesForClass
SA-24960
Summary
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 abc.xyz.com|213.39.123.254 Remote.Support - Encountered problem when performing a Commit
2016-05-02 14:14:22,256 [ STANDARD] [ PegaRULES:07.10] (sForInstance._baseclass.Action) ERROR abc.xyz.com |213.39.123.254 Remote.Support - Problem updating instance PEGASAMPLE W-232
Steps to Reproduce
- Open standard activity RecreateIndexesForClass
- Execute with class parameter <ClassName>
Root Cause
A defect in Pegasystems’ code or rules :
The activity being used by customer is not production ready.
Resolution
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.