Article - CS369175

Error: "A commit cannot be done when a rollback is in progress. The following is the rollback stacktrace" while creating a WTPart by checking "Create CAD Document" in Windchill PDMLink

Modified: 24-Apr-2023   


Applies To

  • Windchill PDMLink 11.0 to 12.1

Description

  • Error:  "A commit cannot be done when a rollback is in progress. The following is the rollback stacktrace" while creating a WTPart by checking "Create CAD Document" in Windchill PDMLink
  • Create WTPart by checking Create CAD Document and MethodServer Log error:
2022-05-12 16:22:41,390 ERROR [ajp-nio-127.0.0.1-8010-exec-5] com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher zwu - StandardRequestDispatcher.dispatchRequest :: Unexpected failure(s)
com.ptc.windchill.uwgm.common.conflict.UwgmErrorException: wt.util.WTException: model:PART1205003.ASM,number is different with name, please modify

Nested exception is: wt.util.WTException: model:PART1205003.ASM,number is different with name, please modify
	at ext.goldwind.listener.StandardCustomListenerService$CustomListenerEventListener.handleEPMDocuement(StandardCustomListenerService.java:140)
	at ext.goldwind.listener.StandardCustomListenerService$CustomListenerEventListener.notifyVetoableEvent(StandardCustomListenerService.java:99)
	at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:312)
	at wt.events.StandardKeyedEventBranch.dispatchVetoableMultiObjectEvent(StandardKeyedEventBranch.java:263)
	at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:306)
	at wt.events.StandardKeyedEventDispatcher.dispatchVetoableMultiObjectEvent(StandardKeyedEventDispatcher.java:244)
	at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:408)
	at wt.services.StandardManagerService.dispatchVetoableMultiObjectEvent(StandardManagerService.java:313)
	at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2976)
	at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2959)
	at wt.fc.StandardPersistenceManager.modify(StandardPersistenceManager.java:756)
	at wt.fc.StandardPersistenceManager.modify(StandardPersistenceManager.java:1098)
	at wt.fc.StandardPersistenceManager.save(StandardPersistenceManager.java:930)
	at sun.reflect.GeneratedMethodAccessor524.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
	at com.sun.proxy.$Proxy12.save(Unknown Source)

...........

2022-05-12 16:22:41,396 ERROR [ajp-nio-127.0.0.1-8010-exec-5] com.ptc.windchill.uwgm.proesrv.task.UwgmTaskManager zwu - UwgmTaskManager.registerTask :: 
(wt.pom.pomResource/9) wt.pom.PersistenceException: A commit cannot be done when a rollback is in progress. The following is the rollback stacktrace
    ROLLBACK: java.lang.Thread.getStackTrace(Thread.java:1559)
    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.fc.StandardPersistenceManager.modify(StandardPersistenceManager.java:786)
    ROLLBACK: wt.fc.StandardPersistenceManager.modify(StandardPersistenceManager.java:1098)
    ROLLBACK: wt.fc.StandardPersistenceManager.save(StandardPersistenceManager.java:930)
    ROLLBACK: sun.reflect.GeneratedMethodAccessor524.invoke(Unknown Source)
    ROLLBACK: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    ROLLBACK: java.lang.reflect.Method.invoke(Method.java:498)
    ROLLBACK: wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
    ROLLBACK: com.sun.proxy.$Proxy12.save(Unknown Source)
    ROLLBACK: wt.vc.StandardVersionControlSvrService.updateVersionIdentifier(StandardVersionControlSvrService.java:351)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.action.CreateCADDocumentAction.setVersion(CreateCADDocumentAction.java:333)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.action.CreateCADDocumentAction.setDocAttributes(CreateCADDocumentAction.java:282)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.action.CreateCADDocumentAction.executeAction(CreateCADDocumentAction.java:142)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.request.CreateInCommonspaceRequest.executeRequest(CreateInCommonspaceRequest.java:101)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher.dispatchRequest(StandardRequestDispatcher.java:1319)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher.scanRequests(StandardRequestDispatcher.java:1069)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.UwgmTransactionExecuterImpl.execute(UwgmTransactionExecuterImpl.java:109)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.UwgmTransactionExecuterImpl.executeTransaction(UwgmTransactionExecuterImpl.java:59)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.ProeService.executeTransaction(ProeService.java:111)
    ROLLBACK: com.ptc.windchill.uwgm.proesrv.ProeService.execute(ProeService.java:87)
    ROLLBACK: com.ptc.windchill.uwgm.cadx.request.UwgmRequestProcessor.process(UwgmRequestProcessor.java:43)
    ROLLBACK: com.ptc.windchill.uwgm.cadx.request.JSTableRequestProcessor.runTask(JSTableRequestProcessor.java:182)
    ROLLBACK: com.ptc.windchill.uwgm.cadx.newcaddoc.forms.CreateCADDocumentFormProcessor.createCADDocument(CreateCADDocumentFormProcessor.java:813)
    ROLLBACK: com.ptc.windchill.uwgm.cadx.newcaddoc.forms.CreateCADDocumentFormProcessor.doOperation(CreateCADDocumentFormProcessor.java:383)
    ROLLBACK: com.ptc.windchill.enterprise.part.forms.CreatePartAndCADDocFormProcessor.doOperation(CreatePartAndCADDocFormProcessor.java:168)
    ROLLBACK: ext.goldwind.integration.processors.PartCreateProcess.doOperation(PartCreateProcess.java:24)
    ROLLBACK: com.ptc.core.components.forms.DefaultFormProcessorController.executeDoOperation(DefaultFormProcessorController.java:538)
    ROLLBACK: com.ptc.core.components.forms.DefaultFormProcessorController.executeDoOperation(DefaultFormProcessorController.java:549)

 
This is a printer-friendly version of Article 369175 and may be out of date. For the latest version click CS369175