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