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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.