Rare ConstraintViolationException error

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

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

This widget could not be displayed.

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

Cheers,

Leonardo.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

137 views 2 0
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