Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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.
Hi, may be this article would help
https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS68591
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?
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.
Hello AD,
Where is the windchill Task cache? I am having this issue in our windchill system so often?
Thanks
Tem
Hello Tem,
Tomcat Cache folder location: <Windchill>\Tomcat\Instances
InfoEngine Task Cache folder location: <Windchill>\tasks\codebase\com\infoengine\compiledTasks
After deleting these cache locations, restart method server.
Thanks & Regards
Suresh Babu AD
Hi ,
I am facing similar Rollback exception . From workflow I am calling one method to create Document Object. When method fails to create Document due to Number is small then I am returning Boolean to workflow. But when I looked into logs , I found the Rollback exceptions printed , In this case workflow status shows Running
Does anybody have idea how I can solve this issue?
Fri 3/27/15 11:14:23: WfPropagationQueue.PollingThread: (wt.pom.pomResource/9) wt.pom.PersistenceException: A nested transaction cannot be started when a rollback is in progress. The following is the rollback stacktrace.
Fri 3/27/15 11:14:23: WfPropagationQueue.PollingThread: ROLLBACK: java.lang.Thread.getStackTrace(Thread.java:1436)
Fri 3/27/15 11:14:23: WfPropagationQueue.PollingThread: ROLLBACK: wt.pom.TransactionManager.rollbackTransaction(TransactionManager.java:530)
Fri 3/27/15 11:14:23: WfPropagationQueue.PollingThread: ROLLBACK: wt.pom.PersistentObjectManager.rollbackTransaction(PersistentObjectManager.java:456)
Fri 3/27/15 11:14:23: WfPropagationQueue.PollingThread: ROLLBACK: wt.pom.Transaction.rollback(Transaction.java:495)
Fri 3/27/15 11:14:23: WfPropagationQueue.PollingThread: ROLLBACK: wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:3490)
Fri 3/27/15 11:14:23: WfPropagationQueue.PollingThread: ROLLBACK: wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:1167)
Fri 3/27/15 11:14:23: WfPropagationQueue.PollingThread: ROLLBACK: wt.fc.StandardPersistenceManager.save(StandardPersistenceManager.java:1107)
Fri 3/27/15 11:14:23: WfPropagationQueue.PollingThread: ROLLBACK: wt.fc.PersistenceManagerFwd.save(PersistenceManagerFwd.java:737)
I am also a similiar error in CA workflow, during Fast Track approval process. Once the Approval Task is completed then workflow is getting struck at RESOLVED set state robot.
MS logs show the below error:
Nested exception is: wt.util.WTException
2020-06-17 01:30:38,319 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.ptc.ssp.wt.events.StandardGenericEventService.invokeTask(StandardGenericEventService.java:655)
2020-06-17 01:30:38,319 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.ptc.ssp.wt.events.StandardGenericEventService.retrieveTaskAndInvoke(StandardGenericEventService.java:504)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.ptc.ssp.wt.events.StandardGenericEventService.processGenericEvent(StandardGenericEventService.java:471)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.ptc.ssp.wt.events.StandardGenericEventService$GenericEventListener.notifyVetoableEvent(StandardGenericEventService.java:695)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:312)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.events.StandardKeyedEventBranch.dispatchVetoableEvent(StandardKeyedEventBranch.java:250)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:286)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.events.StandardKeyedEventDispatcher.dispatchVetoableEvent(StandardKeyedEventDispatcher.java:215)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:406)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.services.StandardManagerService.dispatchVetoableEvent(StandardManagerService.java:302)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.dispatchVetoableEvent(StandardLifeCycleService.java:576)
2020-06-17 01:30:38,320 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.doSetState(StandardLifeCycleService.java:10404)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.doSetState(StandardLifeCycleService.java:7715)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.setState(StandardLifeCycleService.java:7522)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.setLifeCycleState(StandardLifeCycleService.java:2748)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at java.lang.reflect.Method.invoke(Method.java:606)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.sun.proxy.$Proxy93.setLifeCycleState(Unknown Source)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.infoengine.compiledTasks.file.appl.ptc.Windchill_10$2e2.Windchill.tasks.com.ptc.ssp.wt.events.lifecycleserviceevent_changetask$2exml.invoke(lifecycleserviceevent_changetask$2exml.java:184)
2020-06-17 01:30:38,321 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.infoengine.SAK.Task.invoke(Task.java:1806)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.infoengine.SAK.Task.invoke(Task.java:1714)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.ptc.ssp.wt.events.StandardGenericEventService.invokeTask(StandardGenericEventService.java:646)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.ptc.ssp.wt.events.StandardGenericEventService.retrieveTaskAndInvoke(StandardGenericEventService.java:510)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.ptc.ssp.wt.events.StandardGenericEventService.processGenericEvent(StandardGenericEventService.java:471)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at com.ptc.ssp.wt.events.StandardGenericEventService$GenericEventListener.notifyVetoableEvent(StandardGenericEventService.java:695)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:312)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.events.StandardKeyedEventBranch.dispatchVetoableEvent(StandardKeyedEventBranch.java:250)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:286)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.events.StandardKeyedEventDispatcher.dispatchVetoableEvent(StandardKeyedEventDispatcher.java:215)
2020-06-17 01:30:38,322 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:406)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.services.StandardManagerService.dispatchVetoableEvent(StandardManagerService.java:302)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.dispatchVetoableEvent(StandardLifeCycleService.java:576)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.doSetState(StandardLifeCycleService.java:10404)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.doSetState(StandardLifeCycleService.java:7715)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.setState(StandardLifeCycleService.java:7522)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.lifecycle.StandardLifeCycleService.setState(StandardLifeCycleService.java:7853)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-06-17 01:30:38,323 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at java.lang.reflect.Method.invoke(Method.java:606)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.workflow.robots.WfInternalRequest.invokeTargetMethod(WfInternalRequest.java:374)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.workflow.robots.WfInternalRequest.invokeMethod(WfInternalRequest.java:329)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.workflow.robots.WfInternalRequest.processRequest(WfInternalRequest.java:109)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.workflow.robots.WfInternalMethod.invoke(WfInternalMethod.java:138)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.workflow.robots.WfInternalMethod.run(WfInternalMethod.java:106)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.workflow.engine.StandardWfEngineService.runRobot(StandardWfEngineService.java:1185)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-06-17 01:30:38,324 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at java.lang.reflect.Method.invoke(Method.java:606)
2020-06-17 01:30:38,325 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.queue.QueueEntry.execute(QueueEntry.java:224)
2020-06-17 01:30:38,325 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at wt.queue.QueueRunnable.run(QueueRunnable.java:141)
2020-06-17 01:30:38,325 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2020-06-17 01:30:38,325 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2020-06-17 01:30:38,325 INFO [WfUserWorkQueue.PoolQueueThread-8] wt.system.err wcadmin - at java.lang.Thread.run(Thread.java:745)
2020-06-17 01:30:38,403 ERROR [WfUserWorkQueue.PoolQueueThread-8] root Administrator - Queue entry number: 23674764