java.lang.IllegalStateException

java.lang.IllegalStateException: closeWhenDone() already called

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6504

  • via Atlassian JIRA by George Barnett, 1 year ago
    java.lang.IllegalStateException: closeWhenDone() already called
  • via Atlassian JIRA by Jed Wesley-Smith, 10 months ago
    java.lang.IllegalStateException: closeWhenDone() already called
  • via Atlassian JIRA by George Barnett, 10 months ago
    java.lang.IllegalStateException: closeWhenDone() already called
  • Stack trace

    • java.lang.IllegalStateException: java.lang.IllegalStateException: closeWhenDone() already called at com.atlassian.jira.issue.index.DefaultIndexManager$1.get(DefaultIndexManager.java:86) at com.atlassian.jira.issue.index.DefaultIndexManager$1.get(DefaultIndexManager.java:78) at com.atlassian.jira.issue.index.SearcherCache.retrieveIssueSearcher(SearcherCache.java:37) at com.atlassian.jira.issue.index.DefaultIndexManager.getIssueSearcher(DefaultIndexManager.java:566) at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:70) at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28) at $Proxy67.getIssueSearcher(Unknown Source) at com.atlassian.jira.util.searchers.ThreadLocalSearcherCache.getReader(ThreadLocalSearcherCache.java:27) at com.atlassian.jira.web.bean.StatisticAccessorBean.searchCountMap(StatisticAccessorBean.java:214) Caused by: java.lang.IllegalStateException: closeWhenDone() already called at com.atlassian.jira.util.dbc.Assertions.stateTrue(Assertions.java:145) at com.atlassian.jira.index.DelayCloseable$Helper.open(DelayCloseable.java:69) at com.atlassian.jira.index.DelayCloseSearcher.open(DelayCloseSearcher.java:44) at com.atlassian.jira.index.DefaultIndexEngine$SearcherReference.doGet(DefaultIndexEngine.java:208) at com.atlassian.jira.index.DefaultIndexEngine$SearcherReference.doGet(DefaultIndexEngine.java:179) at com.atlassian.jira.index.DefaultIndexEngine$ReferenceHolder.get(DefaultIndexEngine.java:296) at com.atlassian.jira.index.DefaultIndexEngine.getSearcher(DefaultIndexEngine.java:136) at com.atlassian.jira.index.DefaultManager.getSearcher(DefaultManager.java:39) at com.atlassian.jira.issue.index.DefaultIssueIndexer.getIssueSearcher(DefaultIssueIndexer.java:185) at com.atlassian.jira.issue.index.DefaultIndexManager$1.get(DefaultIndexManager.java:82)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.