I got this exception when I restore my old Jira database on JIRA6.4.11 to a fresh database on JIRA7.4.2 (with a new version of Oracle).
2018-11-14 12:42:49,624 JiraImportTaskExecutionThread-1 ERROR anonymous 627x8x1 1rwz7dk 10.52.193.143,10.134.33.69 /secure/SetupImport.jspa [c.a.j.bc.dataimport.DefaultDataImportService] Error importing data: org.xml.sax.SAXException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:SequenceValueItem][seqName,EntityPropertyIndexDocument][seqId,10100] (SQL Exception while executing the following:INSERT INTO SEQUENCE_VALUE_ITEM (SEQ_NAME, SEQ_ID) VALUES (?, ?) (ORA-00001: unique constraint (JIRAATGL7.PK_SEQUENCE_VALUE_ITEM) violated
))
java.lang.Exception: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:SequenceValueItem][seqName,EntityPropertyIndexDocument][seqId,10100] (SQL Exception while executing the following:INSERT INTO SEQUENCE_VALUE_ITEM (SEQ_NAME, SEQ_ID) VALUES (?, ?) (ORA-00001: unique constraint (JIRAATGL7.PK_SEQUENCE_VALUE_ITEM) violated
))
org.xml.sax.SAXException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:SequenceValueItem][seqName,EntityPropertyIndexDocument][seqId,10100] (SQL Exception while executing the following:INSERT INTO SEQUENCE_VALUE_ITEM (SEQ_NAME, SEQ_ID) VALUES (?, ?) (ORA-00001: unique constraint (JIRAATGL7.PK_SEQUENCE_VALUE_ITEM) violated
))
java.lang.Exception: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:SequenceValueItem][seqName,EntityPropertyIndexDocument][seqId,10100] (SQL Exception while executing the following:INSERT INTO SEQUENCE_VALUE_ITEM (SEQ_NAME, SEQ_ID) VALUES (?, ?) (ORA-00001: unique constraint (JIRAATGL7.PK_SEQUENCE_VALUE_ITEM) violated
))
I cheked the max of the concerning table (EntityPropertyIndexDocument), but there is no inconsistancy as it is advised here .
Max is 10000 in the table and the value is 10100 in SequenceValueItem.
Anyway it is not the same exception as the mentionned link before.
I have no idea to solve this issue.
Please Help !