Unable to Reindex JIRA due to java.lang.reflect.UndeclaredThrowableException
症状
When trying to reindex, the following appears in the atlassian-jira.log
:
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.reflect.UndeclaredThrowableException
at com.atlassian.jira.index.FutureResult.await(FutureResult.java:35)
at com.atlassian.jira.index.CompositeResultBuilder$CompositeResult.await(CompositeResultBuilder.java:82)
at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:243)
...
at $Proxy131.reIndexAll(Unknown Source)
at com.atlassian.jira.util.index.IndexLifecycleManager$Composite.reIndexAll(IndexLifecycleManager.java:112)
at com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand.doReindex(ReIndexAsyncIndexerCommand.java:29)
at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:54)
...
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy1158.getSprint(Unknown Source)
at com.atlassian.greenhopper.customfield.sprint.SprintCFType.convertStringToType(SprintCFType.java:256)
at com.atlassian.greenhopper.customfield.sprint.SprintCFType.convertStringToType(SprintCFType.java:36)
at com.atlassian.jira.issue.customfields.impl.AbstractMultiCFType.convertStringsToTypes(AbstractMultiCFType.java:22
原因
A previously compiled file has become corrupted.
ソリューション
- Jira を終了します。
- Delete all the content within Tomcat's work directory, from <JIRA Installation directory>/work.
- Jira を再起動します。
- Try to perform a re-index again via Administration >> System >> Indexing. See Search Indexing.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.