Error on rerunning failed builds since JDK 8 update

Hi,

We've recently updated our build images to version 8 of the JDK to ensure compatibility with Bamboo. Although builds are initiating fine, any attempt to rerun a build produces the following error:

Plan ... could not be started. org.springframework.orm.hibernate3.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

Do you have any idea how this could be resolved?

1 answer

2 votes

Hello @Jack Whelpton,

Looks like you have https://jira.atlassian.com/browse/BAM-16332, current workaround is to decrease amount of storage used by artifacts to be less than 20 GB or switch to S3 artifact storage.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,421 views 21 17
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you