org.ofbiz.core.entity.GenericEntityException

while inserting: [GenericEntity:CustomField] [customfieldsearcherkey,com.atlassian.jira.plugin.system.customfieldtypes:textsearcher][description,A text custom field] [customfieldtypekey,com.atlassian.jira.plugin.system.customfieldtypes:textfield] [name,Test text field 80][id,10074] (SQL Exception while executing the following: INSERT INTO customfield (ID, CUSTOMFIELDTYPEKEY, CUSTOMFIELDSEARCHERKEY, cfname, DESCRIPTION, defaultvalue, FIELDTYPE, PROJECT, ISSUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10074' for key 1))

Solutions on the web71

  • via Atlassian JIRA by Matt Doar [ServiceRocket], 11 months ago
    ] [name,Test text field 80][id,10074] (SQL Exception while executing the following: INSERT INTO customfield (ID, CUSTOMFIELDTYPEKEY, CUSTOMFIELDSEARCHERKEY, cfname, DESCRIPTION, defaultvalue, FIELDTYPE, PROJECT, ISSUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10074' for key 1))
  • via Atlassian JIRA by Matt Doar [ServiceRocket], 1 year ago
    ] [name,Test text field 80][id,10074] (SQL Exception while executing the following: INSERT INTO customfield (ID, CUSTOMFIELDTYPEKEY, CUSTOMFIELDSEARCHERKEY, cfname, DESCRIPTION, defaultvalue, FIELDTYPE, PROJECT, ISSUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10074' for key 1))
  • via Atlassian JIRA by Kyler Johnson [Atlassian], 1 year ago
    while inserting: [GenericEntity:MovedIssueKey][id,26005][issueId,92675][oldIssueKey,PLT-6984] (SQL Exception while executing the following:INSERT INTO moved_issue_key (ID, OLD_ISSUE_KEY, ISSUE_ID) VALUES (?, ?, ?) (Duplicate entry '26005' for key 'PRIMARY'))
  • Stack trace

    • org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomField] [customfieldsearcherkey,com.atlassian.jira.plugin.system.customfieldtypes:textsearcher][description,A text custom field] [customfieldtypekey,com.atlassian.jira.plugin.system.customfieldtypes:textfield] [name,Test text field 80][id,10074] (SQL Exception while executing the following: INSERT INTO customfield (ID, CUSTOMFIELDTYPEKEY, CUSTOMFIELDSEARCHERKEY, cfname, DESCRIPTION, defaultvalue, FIELDTYPE, PROJECT, ISSUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10074' for key 1)) at org.ofbiz.core.entity.GenericDAO.singleInsert(GenericDAO.java:123) at org.ofbiz.core.entity.GenericDAO.insert(GenericDAO.java:88) at org.ofbiz.core.entity.GenericHelperDAO.create(GenericHelperDAO.java:63) at org.ofbiz.core.entity.GenericDelegator.create(GenericDelegator.java:480) at org.ofbiz.core.entity.GenericDelegator.create(GenericDelegator.java:460) at org.ofbiz.core.entity.GenericValue.create(GenericValue.java:77) at com.atlassian.core.ofbiz.util.EntityUtils.createValue(EntityUtils.java:64) at com.atlassian.jira.issue.managers.DefaultCustomFieldManager.createCustomField(DefaultCustomFieldManager.java:140)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.