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

AES reports thread recycle errors - StaleThreadError

SA-10951

Summary



AES reports multiple recycled and stale thread exceptions. 

Error Messages



2013-07-29 15:58:58,741 [   WorkManager(2)-75] [  STANDARD] [                    ] (          mgmt.base.ThreadData) ERROR   - Trying to use a destroyed thread
com.pega.pegarules.pub.context.StaleThreadError: Thread has been destroyed

at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.validateUse(PRThreadImpl.java:336)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.getStepStatus(PRThreadImpl.java:843)
at com.pega.pegarules.pub.PRException.setStatus(PRException.java:321)
at com.pega.pegarules.pub.PRException.setStatus(PRException.java:307)
at com.pega.pegarules.pub.PRRuntimeException.(PRRuntimeException.java:118)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1094)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:771)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:328)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:720)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:312)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)


Steps to Reproduce



Not Applicable

Root Cause



Pegasystems’ code does not protect against attempts to process requestors with a destroyed thread.

Resolution



This issue is resolved in Pega 7.

Install HFix-7666, HFix-7697, and HFix-7815 for PRPC 6.3 SP1.

Published June 23, 2015 - 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