Error saving document in Confluence

A colleague tried to save a document in Confluence, and got a system error stating the following:

org.springframework.orm.hibernate.HibernateSystemException: could not delete: [com.atlassian.confluence.pages.Draft#15467641]; nested exception is net.sf.hibernate.HibernateException: could not delete: [com.atlassian.confluence.pages.Draft#15467641]
    at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:597)

caused by: net.sf.hibernate.HibernateException: could not delete: [com.atlassian.confluence.pages.Draft#15467641]
    at net.sf.hibernate.persister.EntityPersister.delete(EntityPersister.java:607)

caused by: net.sf.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for com.atlassian.confluence.pages.Draft instance with identifier: 15467641
    at net.sf.hibernate.persister.AbstractEntityPersister.check(AbstractEntityPersister.java:513)


Any clues to what the issue might be?

1 answer

1 accepted

1 vote
Accepted answer

From the stack trace it appears that two users were editing the same page at the same time. Is it possible to refresh the browser and try to edit it one more time?

Thanks for your response, Guilherme.

You're most likely correct, he was able to edit the document after receiving the error. I should have drawn the same conclusion from the error as well. Too busy googling the error rather than just reading it carefully first. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,022 views 14 12
Join discussion

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