Skip to main content
Jun 14, 2018 7:54 AM UTC
Question

Rollback Error while Automatic creation of Promotion Request Approval Task.

Hi All,

I am trying to launch promotion request approval task from promotion request review task. While doing this I am getting the following error, has anyone solved it? If anyone could provide a solution it would be of great help.

 

Error message:

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:1556) ROLLBACK: wt.pom.TransactionManager.rollbackTransaction(TransactionManager.java:750) ROLLBACK: wt.pom.BasicTransactionMonitor.rollbackTransaction(BasicTransactionMonitor.java:77) ROLLBACK: wt.pom.PersistentObjectManager.rollbackTransaction(PersistentObjectManager.java:427) ROLLBACK: wt.pom.Transaction.rollback(Transaction.java:746) ROLLBACK: wt.maturity.AbstractTransitionHandler.transitionTargets(AbstractTransitionHandler.java:111) ROLLBACK: wt.maturity.TransitionHandlerFactory.transitionTargets(TransitionHandlerFactory.java:81) ROLLBACK: wt.maturity.StandardMaturityService.lockTargets(StandardMaturityService.java:1062) ROLLBACK: wt.workflow.expr.WfExpression9141637.executemethod_1(WfExpression9141637.java:54) ROLLBACK: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ROLLBACK: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ROLLBACK: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ROLLBACK: java.lang.reflect.Method.invoke(Method.java:498) ROLLBACK: wt.workflow.definer.WfExpression.invokeByReflection(WfExpression.java:1408) ROLLBACK: wt.workflow.definer.WfExpression.executeRouter(WfExpression.java:1565) ROLLBACK: wt.workflow.definer.WfExpression.execute(WfExpression.java:465) ROLLBACK: wt.workflow.engine.WfConnector.evaluateRouterExpression(WfConnector.java:641) ROLLBACK: wt.workflow.engine.WfConnector.fire(WfConnector.java:374) ROLLBACK: wt.workflow.engine.WfConnector.fireInput(WfConnector.java:338) ROLLBACK: wt.workflow.engine.ConnectorConnectorLink.receiveEvent(ConnectorConnectorLink.java:150) ROLLBACK: wt.workflow.engine.StandardWfEngineService.propagateEvent(StandardWfEngineService.java:1120) ROLLBACK: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ROLLBACK: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ROLLBACK: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ROLLBACK: java.lang.reflect.Method.invoke(Method.java:498) ROLLBACK: wt.queue.QueueEntry.execute(QueueEntry.java:231) ROLLBACK: wt.queue.QueueRunnable.run(QueueRunnable.java:159) ROLLBACK: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ROLLBACK: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ROLLBACK: java.lang.Thread.run(Thread.java:745)

Time:

2018-06-14 13:03:30 IST

Parent Process:

Process Overview is not Available

13 replies

3-Newcomer
Jun 14, 2018 11:44 AM UTC
Vinay_SAuthor
Jun 14, 2018 12:37 PM UTC

I have done this 'n' number of times but ended up getting same error every time. My review promotion request task is getting created, I have added notification robot and checkpoints to identify the process path. It is executing every process in review task and when the review is approved it is going to process robot and there it is getting stuck with mentioned error.

3-Newcomer
Jun 14, 2018 12:51 PM UTC

What is your windchill version and environment ?

Jun 19, 2019 7:33 PM UTC

Vinay,

 

Is there more logging info leading up to this error in the methodserver, or maybe the backgroundmethod server log?  That might be helpful.  What version of Windchill?  You may need to open a Support case for this.

 

Do you have a conditional node in the workflow?

I wonder if you could be seeing something like this:

https://www.ptc.com/en/support/article?n=CS165769

 

I've also heard of similar issues, if the rollback involves checked-out objects, that need to be checked-in first, but your error stack makes me think it's more related to the article I pointed to...maybe.  That's why I ask if there is more logging info before the error stack.

 

Jun 19, 2019 8:14 PM UTC

That original post is from June 2018 so we may not get a response.

Jun 19, 2019 8:21 PM UTC

Ahh yes, I see that now. My eyes read June, and didn't see the 2018 vs 2019.  🙂

 

I guess the same question to you then STEVEG, if you have the logging info leading up to a similar error stack, if you also got a similar issue like this recently then.