Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira suddenly is throwing errors

Jira is throwings errors. i believe it has something to do with the DB, but not to sure. It is the following error:

2021-03-16 15:28:35,197+0100 http-nio-8080-exec-79 url: /internal-error ERROR [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=8e113123-0a43-44a5-b929-b9182e18fef6, interpretedMsg=, cause=com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Membership][lowerChildName,sgupta14][membershipType,GROUP_USER][parentName,NSR_ODATA_NC_TBAPI][childName,sgupta14][directoryId,10000][id,1808709][childId,45603][lowerParentName,nsr_odata_nc_tbapi][parentId,30917] (SQL Exception while executing the following:INSERT INTO cwd_membership (ID, parent_id, child_id, membership_type, group_type, parent_name, lower_parent_name, child_name, lower_child_name, directory_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ORA-00001: unique constraint (TMC002_JIRA.UK_MEM_PARENT_CHILD_TYPE) violated
Caused by: Error : 1, Position : 0, Sql = INSERT INTO cwd_membership (ID, parent_id, child_id, membership_type, group_type, parent_name, lower_parent_name, child_name, lower_child_name, directory_id) VALUES (:1 , :2 , :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 ), OriginalSql = INSERT INTO cwd_membership (ID, parent_id, child_id, membership_type, group_type, parent_name, lower_parent_name, child_name, lower_child_name, directory_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?), Error Msg = ORA-00001: unique constraint (TMC002_JIRA.UK_MEM_PARENT_CHILD_TYPE) violated
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (TMC002_JIRA.UK_MEM_PARENT_CHILD_TYPE) violated
Caused by: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:INSERT INTO cwd_membership (ID, parent_id, child_id, membership_type, group_type, parent_name, lower_parent_name, child_name, lower_child_name, directory_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ORA-00001: unique constraint (TMC002_JIRA.UK_MEM_PARENT_CHILD_TYPE) violated
Caused by: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Membership][lowerChildName,sgupta14][membershipType,GROUP_USER][parentName,NSR_ODATA_NC_TBAPI][childName,sgupta14][directoryId,10000][id,1808709][childId,45603][lowerParentName,nsr_odata_nc_tbapi][parentId,30917] (SQL Exception while executing the following:INSERT INTO cwd_membership (ID, parent_id, child_id, membership_type, group_type, parent_name, lower_parent_name, child_name, lower_child_name, directory_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ORA-00001: unique constraint (TMC002_JIRA.UK_MEM_PARENT_CHILD_TYPE) violated
com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Membership][lowerChildName,sgupta14][membershipType,GROUP_USER][parentName,NSR_ODATA_NC_TBAPI][childName,sgupta14][directoryId,10000][id,1808709][childId,45603][lowerParentName,nsr_odata_nc_tbapi][parentId,30917] (SQL Exception while executing the following:INSERT INTO cwd_membership (ID, parent_id, child_id, membership_type, group_type, parent_name, lower_parent_name, child_name, lower_child_name, directory_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ORA-00001: unique constraint (TMC002_JIRA.UK_MEM_PARENT_CHILD_TYPE) violated

 Does anyone have any idea what is causing this error to suddenly pop up?

1 answer

Hello, if the instqance seems to be losing connection with the database.

Usually an error message appears in jira if the validation query is correctly configured in the dbconfig.xml file.

With this error you cannot see much, I recommend you verify that the database is accessible from the jira server. For more details you should see the entire log.

I recommend you analyze the log and if you can't find anything and the database works ok, it is accessible and it has the credentials that you upload a ticket to atlassian support attaching the support zip.

regards

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Why everyone using Jira must be GDPR-compliant

Did you know that penalties up to 4 % of the yearly company turnover are possible in case of GDPR violations? GDPR regulations are currently mainly relevant for companies in the EU, but countries lik...

59 views 1 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you