# Search service failure

**URL:** <https://community.developer.atlassian.com/t/search-service-failure/29198>\
**Category:** Jira Server\
**Tags:** jira-software, java, jira-server\
**Created:** [May 10, 2019, 1:19pm UTC](https://community.developer.atlassian.com/t/search-service-failure/29198 "2019-05-10T13:19:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aakash.thakare](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@aakash.thakare](https://community.developer.atlassian.com/u/aakash.thakare)\
**Post date:** [May 10, 2019, 1:19pm UTC](https://community.developer.atlassian.com/t/search-service-failure/29198/1 "2019-05-10T13:19:18Z")

</div>

Hi,

I’m facing an issue with [SearchService](https://docs.atlassian.com/software/jira/docs/api/7.3.4/com/atlassian/jira/bc/issue/search/SearchService.html) when I use it to search with JQL.

Following is the error stacktrace,

```auto

2019-05-08 05:51:31,367 http-nio-8080-exec-3 ERROR somreddy 72x1341x1 ugw9th 10.62.17.108,172.19.0.4 /rest/qtm/latest/advancesetting/reindex [c.a.qtm.utils.LoggerUtils] com.atlassian.qtm.service.AdvanceSettingServiceImpl -> reindex -> 172 :: ERROR :: reindex in AdvanceSettingServiceImpl
com.atlassian.cache.CacheException: java.lang.NullPointerException
	at com.atlassian.cache.memory.DelegatingCachedReference.get(DelegatingCachedReference.java:91)
	at com.atlassian.jira.issue.search.managers.DefaultSearchHandlerManager.getHelper(DefaultSearchHandlerManager.java:254)
	at com.atlassian.jira.issue.search.managers.DefaultSearchHandlerManager.getFieldIds(DefaultSearchHandlerManager.java:197)
	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getSearchSorts(LuceneSearchProvider.java:520)
	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:393)
	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:128)
	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:124)
	at com.atlassian.jira.bc.issue.search.DefaultSearchService.search(DefaultSearchService.java:111)
...
org.eclipse.gemini.blueprint.service.importer.ServiceProxyDestroyedException: service proxy has been destroyed
	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor$ServiceLookUpCallback.doWithRetry(ServiceDynamicInterceptor.java:102)
	at org.eclipse.gemini.blueprint.service.importer.support.internal.support.RetryTemplate.execute(RetryTemplate.java:81)
	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.lookupService(ServiceDynamicInterceptor.java:448)
	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterceptor.java:410)
	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)

```

It would be really appreciated if you can help me to resolve this issue.

Thanks.

---

<div class="post-metadata">

**Author:** ![yann](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/yann/32/37682_2.png) [@yann](https://community.developer.atlassian.com/u/yann)\
**Post date:** [May 13, 2019, 1:53am UTC](https://community.developer.atlassian.com/t/search-service-failure/29198/2 "2019-05-13T01:53:44Z")

</div>

Hi @aakash.thakare

you can 1st try to reindex your database and check if you still have the error  
/secure/admin/IndexAdmin.jspa

there are some changes in jira 8 in the SearchService  
jira v7 : `searchResult.getIssues();`  
jira v8 : `searchResult.getResults();`
