org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert: [com.atlassian.confluence.spaces.Space#819201]; SQL []; Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_CT_740 in statement [insert into SPACES (SPACENAME, SPACEKEY, SPACEDESCID, HOMEPAGE, CREATOR, CREATIONDATE, LASTMODIFIER, LASTMODDATE, SPACETYPE, SPACEGROUPID, SPACEID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; nested exception is java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_CT_740 in statement [insert into SPACES (SPACENAME, SPACEKEY, SPACEDESCID, HOMEPAGE, CREATOR, CREATIONDATE, LASTMODIFIER, LASTMODDATE, SPACETYPE, SPACEGROUPID, SPACEID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]

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

Solutions on the web

via Atlassian JIRA by Marlena Compton [Atlassian], 1 year ago
Hibernate operation: could not insert: [com.atlassian.confluence.spaces.Space#819201]; SQL []; Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_CT_740 in statement [insert into SPACES (SPACENAME, SPACEKEY, SPACEDESCID
via Atlassian JIRA by Marlena Compton [Atlassian], 1 year ago
Hibernate operation: could not insert: [com.atlassian.confluence.spaces.Space#819201]; SQL []; Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_CT_740 in statement [insert into SPACES (SPACENAME, SPACEKEY, SPACEDESCID
via atlassian.com by Unknown author, 2 years ago
(Hibernate operation): data integrity violated by SQL ''; nested exception is java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK_ _5070F446'. Cannot insert duplicate key in object 'os_user'.
via Atlassian JIRA by Dave Loeng [Atlassian], 1 year ago
(Hibernate operation): data integrity violated by SQL ''; nested exception is java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__os_user__5070F446'. Cannot insert duplicate key in object 'os_user'.
via atlassian.com by Unknown author, 2 years ago
(Hibernate operation): data integrity violated by SQL ''; nested exception is java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK_ _5070F446'. Cannot insert duplicate key in object 'os_user'.
via atlassian.com by Unknown author, 2 years ago
Hibernate operation: could not insert: [com.atlassian.confluence.pages.Page#327759]; SQL []; integrity constraint violation: unique constraint or index violation; SYS_PK_10190 table: CONTENT; nested exception is java.sql.SQLException: integrity constraint violation: unique constraint or index violation; SYS_PK_10190 table: CONTENT
org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert: [com.atlassian.confluence.spaces.Space#819201]; SQL []; Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_CT_740 in statement [insert into SPACES (SPACENAME, SPACEKEY, SPACEDESCID, HOMEPAGE, CREATOR, CREATIONDATE, LASTMODIFIER, LASTMODDATE, SPACETYPE, SPACEGROUPID, SPACEID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; nested exception is java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_CT_740 in statement [insert into SPACES (SPACENAME, SPACEKEY, SPACEDESCID, HOMEPAGE, CREATOR, CREATIONDATE, LASTMODIFIER, LASTMODDATE, SPACETYPE, SPACEGROUPID, SPACEID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]

Users with the same issue

You are the first who have seen this exception.

Write tip

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