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

[PRPC 6.3 SP1] Queue disabled due to execution errors

SA-1436

Summary



While an agent was processing a large backlog of queued items, the Administrator noticed that the agent was failing with the error detailed below.
Furthermore, when then agent failed due to this error it also stopped, meaning the Administrator had to closely monitor the state of the agent until the backlog was cleared.

Error Messages



Exception at 20140811T005224.004 GMT: com.pega.pegarules.pub.PRRuntimeError: Task not added: MyTask #19: Example-Work-MyClass.MyAgentActivity
at com.pega.pegarules.session.internal.async.agent.PRTimer.schedule(PRTimer.java:145)
at com.pega.pegarules.session.internal.async.agent.PRTimer.schedule(PRTimer.java:128)
at com.pega.pegarules.session.internal.async.agent.PRTimerTask.schedule(PRTimerTask.java:116)
at com.pega.pegarules.session.internal.async.AgentQueue.runEnd(AgentQueue.java:739)
at com.pega.pegarules.session.internal.async.AgentQueue.runEnd(AgentQueue.java:694)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:887)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1081)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:812)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:586)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532)
at java.lang.Thread.run(Thread.java:736)



Root Cause


This was identified as defective behaviour when scheduling a task.


Resolution


HFix-9910 was provided to address this.

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