Skip to main content
1-Visitor
Mar 13, 2014 4:46 AM UTC
Solved

Workflow hanging at set state robot

For particular workflow processes, it is hanging at the Set State Robot, and throwing the following error. I could not find any root cause for this issue.

A nested transaction cannot be started when a rollback is in progress. The following is the rollback stacktrace.
ROLLBACK: java.lang.Thread.getStackTraceImpl(Native Method)
ROLLBACK: java.lang.Thread.getStackTrace(Thread.java:1042)
ROLLBACK: wt.pom.TransactionManager.rollbackTransaction(TransactionManager.java:624)
ROLLBACK: wt.pom.BasicTransactionMonitor.rollbackTransaction(BasicTransactionMonitor.java:77)
ROLLBACK: wt.pom.PersistentObjectManager.rollbackTransaction(PersistentObjectManager.java:447)
ROLLBACK: wt.pom.Transaction.rollback(Transaction.java:566)
ROLLBACK: wt.workflow.engine.StandardWfEngineService.synchRobotToEvent(StandardWfEngineService.java:8959)
ROLLBACK: wt.workflow.engine.StandardWfEngineService$SynchEventListener.notifyVetoableEvent(StandardWfEngineService.java:429)
ROLLBACK: wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:320)
ROLLBACK: wt.events.StandardKeyedEventBranch.dispatchVetoableEvent(StandardKeyedEventBranch.java:229)
ROLLBACK: wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:286)
ROLLBACK: wt.events.StandardKeyedEventDispatcher.dispatchVetoableEvent(StandardKeyedEventDispatcher.java:215)
ROLLBACK: wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:406)
ROLLBACK: wt.services.StandardManagerService.dispatchVetoableEvent(StandardManagerService.java:302)
ROLLBACK: wt.lifecycle.StandardLifeCycleService.dispatchVetoableEvent(StandardLifeCycleService.java:571)
ROLLBACK: wt.lifecycle.StandardLifeCycleService.doSetState(StandardLifeCycleService.java:9981)
ROLLBACK: wt.lifecycle.StandardLifeCycleService.doSetState(StandardLifeCycleService.java:7449)
ROLLBACK: wt.lifecycle.StandardLifeCycleService.setState(StandardLifeCycleService.java:7256)
ROLLBACK: wt.lifecycle.StandardLifeCycleService.setState(StandardLifeCycleService.java:7587)

If somebody throws some light on this issue, will be very much appreciated.

Thanks

Suresh

Attributes

sadAnswer
1-Visitor
Mar 14, 2014 8:37 AM UTC

Actually this issue was started appearing in all workflows for the past two days. Clearing queue also failed.

Then as per the PTC suggestion, we cleared all the tomcat cache & task cache and retstarted method server. The issue is resolved now.

7 replies

1-Visitor
Mar 13, 2014 2:09 PM UTC

Hi, may be this article would help

https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS68591

Translate
22-Sapphire I
Mar 13, 2014 3:20 PM UTC

Not a very helpful error message - like most...

Did you check the obvious - the state being set to is not in the current lifecycle? Maybe made an iteration to the lifecycle since this object was created?

Translate
sad1-VisitorAuthorAnswer
1-Visitor
Mar 14, 2014 8:37 AM UTC

Actually this issue was started appearing in all workflows for the past two days. Clearing queue also failed.

Then as per the PTC suggestion, we cleared all the tomcat cache & task cache and retstarted method server. The issue is resolved now.

Translate
1-Visitor
Jan 2, 2015 8:09 PM UTC

Hello AD,

Where is the windchill Task cache? I am having this issue in our windchill system so often?

Thanks

Tem

Translate