Article - CS165769

Severe entries in the wfPropagation queue caused by "wt.util.WTRuntimeException: (wt.pom.pomResource/9) wt.pom.PersistenceException: A nested transaction cannot be started when a rollback is in progress" in Windchill PDMLink

Modified: 29-Dec-2021   


Applies To

  • Windchill PDMLink 10.2 F000

Description

  • Severe entries in the WfPropagationQueue with message 
wt.util.WTRuntimeException: (wt.pom.pomResource/9) wt.pom.PersistenceException: A nested transaction cannot be started when a rollback is in progress.
  • Promotion Request workflow is blocked and never ends
  • Error messages point to the branches of one Conditional node in the workflow (Final / Pending Approval)
  • Code in conditional node is not surrounded by try / catch
  • Example for error message in Background Method Server referring to branch Pending Approval:
TRACE [WfPropagationQueue.PoolQueueThread-143] wt.workflow.engine wcadmin - => Engine.executionErrorEvent: [...........] exception = wt.workflow.definer.InvalidEventException: PendingApproval
DEBUG [WfPropagationQueue.PoolQueueThread-143] wt.workflow.engine.WfEventHelper wcadmin - => setIdentificationAttributes
DEBUG [WfPropagationQueue.PoolQueueThread-143] wt.workflow.engine.WfProcess wcadmin - WfProcess : getName() : IN...
DEBUG [WfPropagationQueue.PoolQueueThread-143] wt.workflow.engine.WfProcess wcadmin - WfProcess : getName() : OUT...
DEBUG [WfPropagationQueue.PoolQueueThread-143] wt.workflow.engine.WfEventHelper wcadmin -    setIdentificationAttributes - OUT: user = Administrator
TRACE [WfPropagationQueue.PoolQueueThread-143] wt.workflow.engine wcadmin -    executionErrorEvent - dispatching event...
DEBUG [WfPropagationQueue.PoolQueueThread-143] wt.workflow.engine.WfProcess wcadmin - WfProcess : getName() : IN...
DEBUG [SessionThread-9] wt.workflow.engine.WfEventHelper  - => Engine.SaveEventAudit.run: EXECUTION_ERROR
DEBUG [WfPropagationQueue.PoolQueueThread-143] wt.workflow.engine.WfProcess wcadmin - WfProcess : getName() : OUT...
DEBUG [WfPropagationQueue.PoolQueueThread-143] wt.workflow.engine wcadmin - A nested transaction cannot be started when a rollback is in progress.  The following is the rollback stacktrace.
    ROLLBACK: java.lang.Thread.getStackTrace(Thread.java:1567)
    ROLLBACK: wt.pom.TransactionManager.rollbackTransaction(TransactionManager.java:738)
    ROLLBACK: wt.pom.BasicTransactionMonitor.rollbackTransaction(BasicTransactionMonitor.java:77)
    ROLLBACK: wt.pom.PersistentObjectManager.rollbackTransaction(PersistentObjectManager.java:448)
    ROLLBACK: wt.pom.Transaction.rollback(Transaction.java:657)
    ROLLBACK: wt.workflow.engine.WfConnector.evaluateRouterExpression(WfConnector.java:632)
…….
 
This is a printer-friendly version of Article 165769 and may be out of date. For the latest version click CS165769