---
title: "Reindexing takes too much time with com.atlassian.jira.issue.index.SearchUnavailableException exceptions"
canonical: "https://support.appfire.com/space/JEP/10944915/Reindexing%20takes%20too%20much%20time%20with%20com.atlassian.jira.issue.index.SearchUnavailableException%20exceptions"
format: markdown
---
## The Problem

<span style="color: #000000">After upgrading Jira, some clients are faced with a reindexing problem. It can take too much time because of SLA fields in JEP.</span>

<span style="color: #000000">Here is a sample stacktrace:</span>

> ℹ️ `Error indexing issue ABC-123: Dropping 'customfield_10100'
> ℹ️ com.atlassian.jira.issue.index.SearchUnavailableException
> ℹ️ 	at com.atlassian.jira.issue.index.DefaultIndexManager.getEntitySearcher(DefaultIndexManager.java:878)
> ℹ️ 	at com.atlassian.jira.issue.index.DefaultIndexManager.getIssueSearcher(DefaultIndexManager.java:858)
> ℹ️ 	at sun.reflect.GeneratedMethodAccessor542.invoke(Unknown Source)
> ℹ️ 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ℹ️ 	at java.lang.reflect.Method.invoke(Method.java:498)
> ℹ️ 	at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:22)
> ℹ️ 	at com.sun.proxy.$Proxy12.getIssueSearcher(Unknown Source)
> ℹ️ 	at com.atlassian.jira.issue.search.SearchProviderFactoryImpl.getSearcher(SearchProviderFactoryImpl.java:18)
> ℹ️ 	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getIssueSearcher(LuceneSearchProvider.java:148)
> ℹ️ 	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchCount(LuceneSearchProvider.java:117)
> ℹ️ 	... 2 filtered
> ℹ️ 	at java.lang.reflect.Method.invoke(Method.java:498)
> ℹ️ 	at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
> ℹ️ 	at com.sun.proxy.$Proxy376.searchCount(Unknown Source)
> ℹ️ 	... 2 filtered
> ℹ️ 	at java.lang.reflect.Method.invoke(Method.java:498)
> ℹ️ 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
> ℹ️ 	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
> ℹ️ 	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
> ℹ️ 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ℹ️ 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
> ℹ️ 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
> ℹ️ 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ℹ️ 	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
> ℹ️ 	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
> ℹ️ 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ℹ️ 	at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
> ℹ️ 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ℹ️ 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
> ℹ️ 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
> ℹ️ 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ℹ️ 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
> ℹ️ 	at com.sun.proxy.$Proxy3151.searchCount(Unknown Source)
> ℹ️ 	at com.tuncaysenturk.jira.plugins.enhancer.customfield.sla.e.a(TimeToSlaCFType.java:190)
> ℹ️ 	at com.tuncaysenturk.jira.plugins.enhancer.customfield.sla.e.a(TimeToSlaCFType.java:176)
> ℹ️ 	at com.tuncaysenturk.jira.plugins.enhancer.customfield.sla.e.a(TimeToSlaCFType.java:163)
> ℹ️ 	at com.tuncaysenturk.jira.plugins.enhancer.customfield.sla.e.a(TimeToSlaCFType.java:123)
> ℹ️ 	at com.tuncaysenturk.jira.plugins.enhancer.customfield.sla.e.a(TimeToSlaCFType.java:225)`


## The Solution

1. <span style="color: #000000">Go to JEP Menu > Advanced.</span>
2. <span style="color: #000000">Click on Hold reindex.</span>

![image](media://a2d89d64-e6e5-4495-9f23-3e2645258889)