com.tridion.deployer.ProcessingException

Phase: Deployment Prepare Commit Phase failed. Unable to prepare transaction: tcm:0-1120538-66560

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • com.tridion.deployer.ProcessingException: Phase: Deployment Prepare Commit Phase failed. Unable to prepare transaction: tcm:0-1120538-66560 at com.tridion.deployer.phases.DeployPipelineExecutor.runMainExecutePhase(DeployPipelineExecutor.java:209)[cd_deployer.jar:na] at com.tridion.deployer.phases.DeployPipelineExecutor.doExecute(DeployPipelineExecutor.java:100)[cd_deployer.jar:na] at com.tridion.deployer.phases.DeployPipelineExecutor.execute(DeployPipelineExecutor.java:64)[cd_deployer.jar:na] at com.tridion.deployer.TransactionManager.handleDeployPackage(TransactionManager.java:82)[cd_deployer.jar:na] at com.tridion.deployer.queue.QueueLocationHandler$1.run(QueueLocationHandler.java:180)[cd_deployer.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.7.0_60] at java.util.concurrent.FutureTask.run(Unknown Source)[na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.7.0_60] at java.lang.Thread.run(Unknown Source)[na:1.7.0_60] Caused by: javax.persistence.OptimisticLockException: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 at org.hibernate.ejb.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:1402)[hibernate-entitymanager.jar:4.0.1.Final] at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1308)[hibernate-entitymanager.jar:4.0.1.Final] at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)[hibernate-entitymanager.jar:4.0.1.Final] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:261)[hibernate-entitymanager.jar:4.0.1.Final] at com.tridion.storage.persistence.JPABaseDAO.executeQueryListResult(JPABaseDAO.java:281)[cd_datalayer.jar:na] at com.tridion.storage.persistence.JPABaseDAO.executeQueryListResult(JPABaseDAO.java:249)[cd_datalayer.jar:na] at com.tridion.storage.persistence.JPABaseDAO.executeQueryListResult(JPABaseDAO.java:220)[cd_datalayer.jar:na] at com.tridion.storage.persistence.JPATaxonomyDAO.findTaxonomyKeyword(JPATaxonomyDAO.java:157)[cd_datalayer.jar:na] at com.tridion.storage.services.TaxonomyCounterService.updateKeywordReferenceCount(TaxonomyCounterService.java:66)[cd_datalayer.jar:na] at com.tridion.storage.services.TaxonomyCounterService.updateKeywordReferenceCount(TaxonomyCounterService.java:86)[cd_datalayer.jar:na] at com.tridion.storage.services.TaxonomyCounterService.updateKeywordsReferenceCount(TaxonomyCounterService.java:49)[cd_datalayer.jar:na] at com.tridion.storage.services.TaxonomyCounterService.updateKeywordsReferenceCount(TaxonomyCounterService.java:35)[cd_datalayer.jar:na] at com.tridion.storage.deploy.workers.PageWorker.doDeploy(PageWorker.java:78)[cd_datalayer.jar:na] at com.tridion.deployer.model.transaction.TransactionLogItemWorker.doWork(TransactionLogItemWorker.java:27)[cd_model.jar:na] at com.tridion.deployer.phases.PreCommitPhase.runPrepare(PreCommitPhase.java:155)[cd_deployer.jar:na] at com.tridion.deployer.phases.PreCommitPhase.execute(PreCommitPhase.java:101)[cd_deployer.jar:na] at com.tridion.deployer.phases.DeployPipelineExecutor.runMainExecutePhase(DeployPipelineExecutor.java:198)[cd_deployer.jar:na] ... 9 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,