Question

Sporadically advanced agents are failing with exception in pega v822

Hi, Application recently upgraded from pega 721 to Pega 822.

Most of the advanced agents are failing with below error, same agent working fine pega 721 region

com.pega.pegarules.pub.PRRuntimeException: unable to execute agent: <Agent name>PRRuntimeException

at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:712) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1155) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1371) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1114) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:995) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:816) ~[prprivate.jar:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

Comments

Keep up to date on this post and subscribe to comments

Pega
November 14, 2019 - 11:24pm

Hi,

Could you please attach the complete error stack?

Thank you, 

November 14, 2019 - 11:46pm
Response to goela1

Error stack attached

Pega
November 14, 2019 - 11:53pm

Hi,

Have you checked for commas(,) in the TO email string while sending to multiple users?

Hope this reference link https://community1.pega.com/community/pega-support/question/getting-javalangindexoutofboundsexception-index-1-size-0-error-when might help you.

Thank you,

Abhishek Goel

Pega
November 15, 2019 - 8:10am

Is it failing on its first run or next run?