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

Database rollback caused queue item rollback:java.lang.Throwable

SA-60109

Summary



Exception occurs when Queue items related to Service requestor are in the Broken status.


Error Messages



<pxErrorMessage>Database rollback caused queue item rollback: java.lang.Throwable
at com.pega.pegarules.priv.util.StackTrace.getStackTrace(StackTrace.java:47)
at com.pega.pegarules.session.internal.async.agent.QueueManagerImpl.rollback(QueueManagerImpl.java:1173)
at com.pega.pegarules.session.internal.async.agent.QueueManagerImpl.rollback(QueueManagerImpl.java:1142)
at com.pega.pegarules.session.internal.async.agent.QueueManagerImpl.rollback(QueueManagerImpl.java:1135)
at com.pega.pegarules.session.internal.engineinterface.service.RequestProcessorImpl.processQueue(RequestProcessorImpl.java:701)
at com.pegarules.generated.activity.ra_action_processqueue_90bab9d8d8f981f8da8c556128761aab.step1_circum0(ra_action_processqueue_90bab9d8d8f981f8da8c556128761aab.java:161)
at com.pegarules.generated.activity.ra_action_processqueue_90bab9d8d8f981f8da8c556128761aab.perform(ra_action_processqueue_90bab9d8d8f981f8da8c556128761aab.java:70)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:749)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:618)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1000)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1286)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1034)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:916)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:707)
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:748)
</pxErrorMessage>



Steps to Reproduce

  1. Create a service rule. The service must open existing work objects and update them with the details received in the Service request
  2. Queue this request if the Service requestor is unable to lock the work object.
  3. Create a System-Queue-ExecutionRequest-Service-Default instance. This is the out-of-the-box feature available to handle Service requests. The queue item created in Step 3 is in the Broken status with 'Database rollback caused queue item rollback' exception.


Root Cause



A defect in Pegasystems’ code or rules.
BatchRequestorTask does not display the error message when the service activity fails. It displays a generic error message in all error scenarios.



Resolution



Apply HFix-43793.
Suggest Edit

Published November 29, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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