com.cenqua.crucible.hibernate.CruDBException: SQL script error on line 12: "alter table cru_completed_frx drop foreign key FK927E9E9F1BD6EA47;" (Error on rename of './fisheye/cru_completed_frx' to './fisheye/#sql2-148e-586' (errno: 152)), please contact http://www.atlassian.com/support/

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this https://goo.gl/3E2qzg

Solutions on the web

via Atlassian JIRA by Andrew Myers [Atlassian], 1 year ago
SQL script error on line 12: "alter table cru_completed_frx drop foreign key FK927E9E9F1BD6EA47;" (Error on rename of './fisheye/cru_completed_frx' to './fisheye/#sql2-148e-586' (errno: 152)), please contact http://www.atlassian.com/support/
via Atlassian JIRA by Andrew Myers [Atlassian], 1 year ago
SQL script error on line 12: "alter table cru_completed_frx drop foreign key FK927E9E9F1BD6EA47;" (Error on rename of './fisheye/cru_completed_frx' to './fisheye/#sql2-148e-586' (errno: 152)), please contact http://www.atlassian.com/support/
via Atlassian JIRA by Rene Verschoor [Atlassian], 1 year ago
SQL script error on line 103: "alter table cru_review add index FK6288A3D17492E860 (cru_parent_review), add constraint FK6288A3D17492E860 foreign key (cru_parent_review) references cru_review (cru_review_id);" (Can't create table './fecru27/#sql-7e4e_3f7e3a.frm' (errno: 150)), please contact http://www.atlassian.com/support/
via Atlassian JIRA by Rene Verschoor [Atlassian], 1 year ago
SQL script error on line 103: "alter table cru_review add index FK6288A3D17492E860 (cru_parent_review), add constraint FK6288A3D17492E860 foreign key (cru_parent_review) references cru_review (cru_review_id);" (Can't create table './fecru27/#sql-7e4e_3f7e3a.frm' (errno: 150)), please contact http://www.atlassian.com/support/
via Atlassian JIRA by Daniel Vystrcil, 1 year ago
SQL script error on line 1: "drop index idx_commitnotif_rep on cru_commit_notification;" (Can't DROP 'idx_commitnotif_rep'; check that column/key exists), please contact http://www.atlassian.com/support/
via Atlassian JIRA by Daniel Vystrcil, 1 year ago
SQL script error on line 1: "drop index idx_commitnotif_rep on cru_commit_notification;" (Can't DROP 'idx_commitnotif_rep'; check that column/key exists), please contact http://www.atlassian.com/support/
com.cenqua.crucible.hibernate.CruDBException: SQL script error on line 12: "alter table cru_completed_frx drop foreign key FK927E9E9F1BD6EA47;" (Error on rename of './fisheye/cru_completed_frx' to './fisheye/#sql2-148e-586' (errno: 152)), please contact http://www.atlassian.com/support/
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2642)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1647)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1566)
at com.cenqua.crucible.hibernate.DefaultDBControl.executeScript(DefaultDBControl.java:377)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
164 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.