java.sql.BatchUpdateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Upgrade to 5.2 fails due to unique constraint
    via by Michael Giroux,
    • java.sql.BatchUpdateException: ORA-00001: unique constraint >> (SONAR_DEV.FILE_SOURCES_FILE_UUID_UNIQ) violated >> >> at >> oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10296) >> ~[ojdbc6-11.2.0.2.0.jar:11.2.0.2.0] >> at >> oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:216) >> ~[ojdbc6-11.2.0.2.0.jar:11.2.0.2.0] >> at >> org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) >> ~[commons-dbcp-1.4.jar:1.4] >> at >> org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) >> ~[commons-dbcp-1.4.jar:1.4] >> at org.sonar.db.version.UpsertImpl.addBatch(UpsertImpl.java:41) at org.sonar.db.version.MassUpdate$1.handle(MassUpdate.java:80) at org.sonar.db.version.SelectImpl.scroll(SelectImpl.java:78)
    No Bugmate found.