You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Error importing data: org.xml.sax.SAXException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:GroupAttribute][id,13747] (SQL Exception while executing the following:INSERT INTO atis_jira_schema.cwd_group_attributes (ID, group_id, directory_id, attribute_name, attribute_value, lower_attribute_value) VALUES (?, ?, ?, ?, ?, ?) (Cannot insert duplicate key row in object 'atis_jira_schema.cwd_group_attributes' with unique index 'uk_group_attr_name_lval'. The duplicate key value is (<NULL>, <NULL>, <NULL>).)) java.lang.Exception: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:GroupAttribute][id,13747] (SQL Exception while executing the following:INSERT INTO atis_jira_schema.cwd_group_attributes (ID, group_id, directory_id, attribute_name, attribute_value, lower_attribute_value) VALUES (?, ?, ?, ?, ?, ?) (Cannot insert duplicate key row in object 'atis_jira_schema.cwd_group_attributes' with unique index 'uk_group_attr_name_lval'. The duplicate key value is (<NULL>, <NULL>, <NULL>).))
Were you able to resolve this?
I get the same error (the backup came from Cloud and is being restored to Server). I get the exact same NULL insert error on the same table. My SQL Server 2017 database collation is (per Atlassian documentation) set to Latin1_General_CI_AI and I am using the :latest tag of https://hub.docker.com/r/atlassian/jira-software (which is currently 8.14.0).
I've tried "cleaning" the exported data using the atlassian-xml-cleaner-0.1 JAR trick but still get the same error.
Your post is literally the only Google result for the error, table and NULL insert combination so fingers crossed that you figured this one out :-)
Hi Bobby we did get this issue resolved:
If I remember correctly, I looked at the error log and found the name of the index that was being problematic and deleted from the existing database. Once it got past that roadblock it restored without errors. Then there was the default admin user account that is created/reset. I think I just Googled that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.