Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by dewarim
, 1 year ago
this IndexReader is closed
via GitHub by pascaldekloe
, 2 years ago
this IndexReader is closed
via GitHub by jmakoske
, 2 years ago
via Sonatype JIRA by Emil Genchev, 1 year ago
org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed	at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:245)	at org.apache.lucene.index.IndexReader.getSequentialSubReaders(IndexReader.java:1602)	at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:78)	at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:87)	at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:70)	at org.apache.lucene.search.TermQuery$TermWeight.(TermQuery.java:53)	at org.apache.lucene.search.TermQuery.createWeight(TermQuery.java:199)	at org.apache.lucene.search.Searcher.createNormalizedWeight(Searcher.java:168)	at org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:664)	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:383)	at org.apache.lucene.search.IndexSearcher$search.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at org.apache.lucene.search.IndexSearcher$search.call(Unknown Source)	at cinnamon.index.LuceneActor.search(LuceneActor.groovy:182)	at cinnamon.index.LuceneActor$search$1.callCurrent(Unknown Source)	at cinnamon.index.LuceneActor.onMessage(LuceneActor.groovy:67)	at cinnamon.index.LuceneActor$onMessage.call(Unknown Source)	at groovyx.gpars.actor.impl.DDAClosure$_createDDAClosure_closure1.doCall(DDAClosure.groovy:38)	at sun.reflect.GeneratedMethodAccessor428.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1210)	at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1123)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.Closure.call(Closure.java:426)	at groovy.lang.Closure.call(Closure.java:442)	at groovyx.gpars.actor.AbstractLoopingActor.runEnhancedWithoutRepliesOnMessages(AbstractLoopingActor.java:293)	at groovyx.gpars.actor.AbstractLoopingActor.access$400(AbstractLoopingActor.java:30)	at groovyx.gpars.actor.AbstractLoopingActor$1.handleMessage(AbstractLoopingActor.java:93)	at groovyx.gpars.util.AsyncMessagingCore.run(AsyncMessagingCore.java:132)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)