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

Unable to delete unlocked ruleset



The Delete a Ruleset wizard hangs at the Generating restoration file step and fails to delete anything.

Error Messages

"Log-Delete.DeleteRuleSet" threw: PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.executeBatchTask(
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(
Caused by: java.lang.NullPointerException
at com.pega.pegarules.session.internal.authorization.SessionAuthorization.enableUpdateForRuleSet(
at com.pega.pegarules.session.internal.authorization.Authorization.canUpdateRuleSet(

Steps to Reproduce

  1. Install HFix-20608 and HFix-10142 and their dependencies.
  2. Run the Delete a Ruleset wizard.

Root Cause

The behavior is due to a dependent HFix-7845 that was installed. HFix-7845 reduces the cost of spawning child requestors.

Integration Connectors intended to run in parallel as child requestors of their parent requestors cause increased Elapsed Time and CPU Time. The hotfix delivers, and sets as the default, settings that optimize Integration Connectors using Run In Parallel mode, reducing Elapsed Time to 10% and CPU Time to 30%. You can disable the entire set of optimizations by specifying initialization/childrequestors/uselightweightauth


Perform the following local-change:

Set the prconfig setting, initialization/childrequestors/uselightweightauth to false in either the prconfig.xml file or a Dynamic System Setting.

To set the value in the prconfig.xml file, add this entry.
<env name="initialization/childrequestors/uselightweightauth" value="false"/>

To use a Dynamic System Setting, create the setting as shown here.

Published January 26, 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