org.springframework.beans.BeanInstantiationException

Could not instantiate bean class [com.cenqua.crucible.hibernate.DBControlFactoryImpl]: Constructor threw exception; nested exception is com.cenqua.crucible.hibernate.CruD BException: Problem upgrading with script /data/tsbuild/crucible/fecru-2.0.0/sql/HSQL/upgrade/upgrade_33.sql: SQL script error on line 47: "insert into cru_frx_comment (select cru_comment, cru_frx_id from cru_revision_comment where cru_line_range is null);" (Violation of unique constraint SYS_PK_643: duplicate value(s) for column(s) CRU_COMMENT_ID), please contact http://www.atlassian.com/support/

Solutions on the web1889

  • via Atlassian JIRA by E Dueck, 11 months ago
    /sql/HSQL/upgrade/upgrade_33.sql: SQL script error on line 47: "insert into cru_frx_comment (select cru_comment, cru_frx_id from cru_revision_comment where cru_line_range is null);" (Violation of unique constraint SYS_PK_643: duplicate value(s) for column(s) CRU_COMMENT_ID), please contact http://www.atlassian.com/support/
  • via Atlassian JIRA by Daniel Vystrcil, 11 months ago
    Could not instantiate bean class [com.cenqua.crucible.hibernate.DBControlFactoryImpl]: Constructor threw exception; nested exception is com.cenqua.crucible.hibernate.CruDBException: Problem upgrading with script /opt/fisheye/fecru-4.0.2/sql/MYSQL
  • via Atlassian JIRA by Daniel Vystrcil, 1 year ago
    Could not instantiate bean class [com.cenqua.crucible.hibernate.DBControlFactoryImpl]: Constructor threw exception; nested exception is com.cenqua.crucible.hibernate.CruDBException: Problem upgrading with script /opt/fisheye/fecru-4.0.2/sql/MYSQL
  • Stack trace

    • org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cenqua.crucible.hibernate.DBControlFactoryImpl]: Constructor threw exception; nested exception is com.cenqua.crucible.hibernate.CruD BException: Problem upgrading with script /data/tsbuild/crucible/fecru-2.0.0/sql/HSQL/upgrade/upgrade_33.sql: SQL script error on line 47: "insert into cru_frx_comment (select cru_comment, cru_frx_id from cru_revision_comment where cru_line_range is null);" (Violation of unique constraint SYS_PK_643: duplicate value(s) for column(s) CRU_COMMENT_ID), please contact http://www.atlassian.com/support/ at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago