org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • How to safely close an IndexReader?
    via Stack Overflow by Zenofo
    ,
  • Re-opening a Lucene index
    via Stack Overflow by carlspring
    ,
  • Search errors
    via by [jake],
  • Program crashes on closing
    via docfetcher by *anonymous
    ,
    • org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:245)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.index.IndexReader.getSequentialSubReaders(IndexReader.java:1602)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:78)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:87)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:70)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.search.TermQuery$TermWeight.<init>(TermQuery.java:53)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.search.TermQuery.createWeight(TermQuery.java:199)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.search.Searcher.createNormalizedWeight(Searcher.java:168)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:664)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.search.IndexSearcher.searchAfter(IndexSearcher.java:319)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.apache.lucene.search.IndexSearcher.searchAfter(IndexSearcher.java:305)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] at org.neo4j.kernel.api.impl.index.PageOfRangesIterator.fetchNextOrNull(PageOfRangesIterator.java:67)[neo4j-lucene-index-2.3.1.jar:2.3.1] at org.neo4j.kernel.api.impl.index.PageOfRangesIterator.fetchNextOrNull(PageOfRangesIterator.java:35)[neo4j-lucene-index-2.3.1.jar:2.3.1] at org.neo4j.helpers.collection.PrefetchingIterator.peek(PrefetchingIterator.java:60)[neo4j-kernel-2.3.1.jar:2.3.1,dd67f90] at org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:46)[neo4j-kernel-2.3.1.jar:2.3.1,dd67f90] at org.neo4j.collection.primitive.PrimitiveLongCollections$PrimitiveLongConcatingIterator.fetchNext(PrimitiveLongCollections.java:196)[neo4j-primitive-collections-2.3.1.jar:2.3.1] at org.neo4j.collection.primitive.PrimitiveLongCollections$PrimitiveLongBaseIterator.hasNext(PrimitiveLongCollections.java:56)[neo4j-primitive-collections-2.3.1.jar:2.3.1] at org.neo4j.collection.primitive.PrimitiveLongCollections$14.hasNext(PrimitiveLongCollections.java:740)[neo4j-primitive-collections-2.3.1.jar:2.3.1] at org.neo4j.helpers.collection.ResourceClosingIterator.hasNext(ResourceClosingIterator.java:61)[neo4j-kernel-2.3.1.jar:2.3.1,dd67f90] at com.graphaware.tx.executor.input.TransactionalInput.fetchNextOrNull(TransactionalInput.java:72)[classes/:na] at org.neo4j.helpers.collection.PrefetchingIterator.peek(PrefetchingIterator.java:60)[neo4j-kernel-2.3.1.jar:2.3.1,dd67f90] at org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:46)[neo4j-kernel-2.3.1.jar:2.3.1,dd67f90] at com.graphaware.tx.executor.batch.IterableInputBatchTransactionExecutor$1.run(IterableInputBatchTransactionExecutor.java:85)[classes/:na] at java.lang.Thread.run(Thread.java:745)[na:1.7.0_79]
    No Bugmate found.