After upgrading Jira Agile plugin to version 6.4.3 i wanted to re-index. Normally I don't have problems with it, but now it fails with two errors.
com.atlassian.jira.index.IndexingFailureException: Indexing completed with 2 errors at com.atlassian.jira.index.AccumulatingResultBuilder$CompositeResult.await(AccumulatingResultBuilder.java:147) at com.atlassian.jira.issue.index.DefaultIndexManager.doIndexIssuesInBatchMode(DefaultIndexManager.java:877) at com.atlassian.jira.issue.index.DefaultIndexManager.doStopTheWorldReindex(DefaultIndexManager.java:844) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:307) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:272) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:267) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:83) at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28) at com.sun.proxy.$Proxy151.reIndexAll(Unknown Source) at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAll(CompositeIndexLifecycleManager.java:56) at com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand.doReindex(ReIndexAsyncIndexerCommand.java:28) at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:54) at com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand.call(ReIndexAsyncIndexerCommand.java:16) at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:23) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:374) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:250) at java.lang.Thread.run(Unknown Source)
My end-users get this error when they try to rank new issues. They can still rank old issues.
I have tried both indexing options without any luck. I'm not sure that the indexing failure has anything to do with the Jira Agile upgrade because I have done the same on my test enviroment without errors.
We are running Jira v6.1.7#6163-sha1:94d557d.
Yes, I have tried it.
Solution 1: Tried a few times but the same error occurs.
Solution 2 & 3: Query returs 0 rows.
Solution 4: I get a bunch of results on both queries. But we are not using LDAP accounts.
Solution 5: We are not running scriptrunner or any other new installed plugin.
In the atlassian-jira.log these two lines were respectively before and after the error from the first post.
2014-07-31 08:04:46,481 JiraTaskExectionThread-1 ERROR <username> 476x88x1 ga4add <local ip>,127.0.0.1 /secure/admin/jira/IndexReIndex.jspa [jira.util.index.CompositeIndexLifecycleManager] Reindex All FAILED. Indexer: DefaultIndexManager: paths: [D:\jira-6.1.7-home\caches\indexes\comments, D:\jira-6.1.7-home\caches\indexes\issues, D:\jira-6.1.7-home\caches\indexes\changes, D:\jira-6.1.7-home\caches\indexes\plugins\atlassian-subversion-revisions]
2014-07-31 08:04:46,481 JiraTaskExectionThread-1 INFO <username> 476x88x1 ga4add <local ip>.24,127.0.0.1 /secure/admin/jira/IndexReIndex.jspa [action.admin.index.IndexAdminImpl] Re-indexing finished
Unfortunately that didn't help either. Still the same error :(
A closer study to the logs revealed this which I guess is the two errors:
2014-07-31 07:57:34,968 JiraTaskExectionThread-1 WARN <username> 476x88x1 ga4add <local ip>,127.0.0.1 /secure/admin/jira/IndexReIndex.jspa [atlassian.jira.index.AccumulatingResultBuilder] java.util.concurrent.ExecutionException: java.lang.RuntimeException: Expected exactly one rank row for issue[id=57289] for rank field[id=11348], but found 2 rows
2014-07-31 07:57:34,968 JiraTaskExectionThread-1 WARN <username> 476x88x1 ga4add <local ip>,127.0.0.1 /secure/admin/jira/IndexReIndex.jspa [atlassian.jira.index.AccumulatingResultBuilder] java.util.concurrent.ExecutionException: java.lang.RuntimeException: Expected exactly one rank row for issue[id=57288] for rank field[id=11348], but found 2 rows
I have now found the two problematic issues from the issueid.
I can access them from:
I thought I just could delete them and then my re-index would work again, but when I try to delete them nothing happens. The confirm Delete button deactives after I click on it and only the cancel button is active. And then nothing happens.
What should I do next?
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs