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?
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
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.