Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Rare ConstraintViolationException error

Rick White January 23, 2012

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

0 votes
LeonardoL
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 10, 2012

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
TAGS
AUG Leaders

Atlassian Community Events