Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira suddenly throwing errors

David Lee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 21, 2018

Hi Jira Support,

Our server suddenly is throwing the below errors. Need HELP. Thanks.

Technical details
Log's referral number: 31c45323-2cac-4653-b515-92d2d47263e2

Cause
Referer URL: http://192.168.11.202:8080/secure/RapidBoard.jspa?rapidView=1&view=planning&selectedIssue=NI-83&selectedEpic=NI-65

com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:ChangeGroup][issue,10088][author,david.lee][created,2018-08-21 16:07:30.464][id,10302] (SQL Exception while executing the following:INSERT INTO public.changegroup (ID, issueid, AUTHOR, CREATED) VALUES (?, ?, ?, ?) (ERROR: index "chggroup_author_created" contains unexpected zero page at block 2
Hint: Please REINDEX it.))
com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:ChangeGroup][issue,10088][author,david.lee][created,2018-08-21 16:07:30.464][id,10302] (SQL Exception while executing the following:INSERT INTO public.changegroup (ID, issueid, AUTHOR, CREATED) VALUES (?, ?, ?, ?) (ERROR: index "chggroup_author_created" contains unexpected zero page at block 2
Hint: Please REINDEX it.))
at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:299) [classes/:?]
at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.createValue(WrappingOfBizDelegator.java:172) [classes/:?]
at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:86) [classes/:?]
at com.atlassian.jira.issue.util.DefaultIssueUpdater.storeModifiedFields(DefaultIssueUpdater.java:92) [classes/:?]
at 

2 answers

1 accepted

0 votes
Answer accepted
J van Leeuwen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 21, 2018

Hi @David Lee - 

It looks like you may have some issues on your database index. Note the error:

 (ERROR: index "chggroup_author_created" contains unexpected zero page at block 2
Hint: Please REINDEX it.))

Are you using Postgres? I would recommend working with your DBA to have them fix the index on the database side. If it is indeed postgres, you may want to  refer them to this StackOverflow article which I believe will help:  https://stackoverflow.com/questions/47510124/postgres-index-contains-unexpected-zero-page-at-block-exceptions

Based on the error message, it doesn't look like you are dealing with duplicate constraints. Hope this helps!

- Jennifer

David Lee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 21, 2018

Hi Jennifer,

Yes, it was a Postgres database error. We had the problem "index" re-indexed and the problem was solved.

Thank you for your help.
Regards, David.

J van Leeuwen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 22, 2018

Hi David, 

Wonderful to hear! Hope you have a great day. 

- Jennifer

1 vote
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 21, 2018

HI @David Lee

You might be facing this problem

https://confluence.atlassian.com/jirakb/duplicated-entry-unique-constraint-violated-397808094.html

Please read and diagnose on your side. Just use "ChangeGroup" instead od "Membership" in the queries where you put entities.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events