Rare ConstraintViolationException error

One of my users, when attempting to close out a Code Review got the following error:

Internal Server Error
Error 2
An org.hibernate.exception.ConstraintViolationException was encountered

Could not execute JDBC batch update
Cannot delete or update a parent row: a foreign key constraint fails (`fisheye`.`cru_comment`, CONSTRAINT `FKE5A1D10674DF349C` FOREIGN KEY (`cru_reply_to_comment_id`) REFERENCES `cru_comment` (`cru_comment_id`))
You are running release CR2.7.8 FE2.7.8 (20111130052542 2011-11-30), please report your release number when reporting bugs.
Got a suggestion or an issue?
Discuss it in our forums or visit our support website for other options

Has anyone else encountered this error and if so, what did you do to resolve the issue?

1 answer

Hi Rick,

There's a bug report very similar to this at https://jira.atlassian.com/browse/CRUC-6079. Apparently this is related to some inconsistency in your database. In previous cases Atlassian Support needed to get the database dumb in order to run some tests locally and correct some tables values. So if you still facing this issue I recommend you to contact support.atlassian.com



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

229 views 4 1
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