Bamboo throws 'HHH000315: Exception executing batch' error when deleting a deployment environment
問題
Bamboo presents an internal server error when deleting a deployment environment.
診断
The following appears in the $BAMBOO_HOME/logs/atlassian-bamboo.log
2017-03-24 08:57:29,575 INFO [http-nio-8085-exec-43] [DefaultStopBuildManager] 48693249-48562178-109019855: Request to stop '48693249-48562178-109019855' received from admin@******.com
2017-03-24 08:57:29,575 INFO [http-nio-8085-exec-43] [BuildQueueManagerImpl] Attempting to remove from queue: 48693249-48562178-109019855
2017-03-24 08:57:29,581 WARN [http-nio-8085-exec-43] [DeploymentsInProgressServiceImpl] Not found deployment in progress record for result id: 109019855
2017-03-24 08:57:29,616 ERROR [http-nio-8085-exec-43] [BatchingBatch] HHH000315: Exception executing batch [Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1]
2017-03-24 08:57:29,617 ERROR [http-nio-8085-exec-43] [ExceptionMappingInterceptor] Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
org.springframework.orm.hibernate4.HibernateOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
原因
Deployment has not completed successfully and is in an inconsistent state.
回避策
- Bamboo を再起動します。
- Delete the environment.
最終更新日: 2019 年 12 月 20 日
Powered by Confluence and Scroll Viewport.