Trace triggered when generating sla for existing issues

Issue #155 resolved
Jóhann B. Guðmundsson
created an issue

2016-01-28 12:43:59,532 pool-18-thread-3 ERROR johannb 762x21647x1 vd52ws 10.41.102.117 /rest/tts-api/1.0/sla-history/generate [jira.issue.index.DefaultIndexManager] Error while resetting searcher: ISSUE message: this IndexReader is closed org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:263) at org.apache.lucene.index.IndexReader.decRef(IndexReader.java:237) at com.atlassian.jira.index.DelayCloseSearcher$SearcherCloser.decReaderRef(DelayCloseSearcher.java:103) at com.atlassian.jira.index.DelayCloseSearcher$SearcherCloser.close(DelayCloseSearcher.java:85) at com.atlassian.jira.index.DelayCloseable$Helper.checkClosed(DelayCloseable.java:116) at com.atlassian.jira.index.DelayCloseable$Helper.close(DelayCloseable.java:98) at com.atlassian.jira.index.DelayCloseSearcher.close(DelayCloseSearcher.java:64) at com.atlassian.jira.issue.index.SearcherCache.closeSearcher(SearcherCache.java:79) at com.atlassian.jira.issue.index.SearcherCache.closeSearchers(SearcherCache.java:65) at com.atlassian.jira.issue.index.DefaultIndexManager.flushThreadLocalSearchers(DefaultIndexManager.java:1174) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssues(DefaultIndexManager.java:609) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssueObjects(DefaultIndexManager.java:473) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndex(DefaultIndexManager.java:497) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndex(DefaultIndexManager.java:479) <+2> 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.$Proxy14.reIndex(Unknown Source) <+2> at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:134) at com.sun.proxy.$Proxy14.reIndex(Unknown Source) <+2> at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy14.reIndex(Unknown Source) at com.tuncaysenturk.jira.plugins.timetosla.service.d.e(IssueSlaActivityServiceImpl.java:408) at com.tuncaysenturk.jira.plugins.timetosla.service.d.a(IssueSlaActivityServiceImpl.java:349) at com.tuncaysenturk.jira.plugins.timetosla.service.d.b(IssueSlaActivityServiceImpl.java:1000) at com.tuncaysenturk.jira.plugins.timetosla.service.d.c(IssueSlaActivityServiceImpl.java:1015) at com.tuncaysenturk.jira.plugins.timetosla.service.rest.d.b(GenerateSlaHistoryRestService.java:161) at com.tuncaysenturk.jira.plugins.timetosla.service.rest.d.b(GenerateSlaHistoryRestService.java:38) at com.tuncaysenturk.jira.plugins.timetosla.service.rest.d$a.a(GenerateSlaHistoryRestService.java:189) at com.tuncaysenturk.jira.plugins.timetosla.service.rest.d$a.call(GenerateSlaHistoryRestService.java:173) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

Comments (7)

  1. Tuncay Senturk repo owner

    Is this one time error, or are you getting it anytime you trigger for the same issue?
    Generating SLA data also triggers reindexing of the issue, and this gets the aforementioned error.

  2. Log in to comment