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 pascaldekloe
, 2 years ago
this IndexReader is closed
via GitHub by dewarim
, 1 year ago
this IndexReader is closed
via Sonatype JIRA by Emil Genchev, 1 year ago
via Hibernate JIRA by Sanne Grinovero, 2 years 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.searchAfter(IndexSearcher.java:319)	at org.apache.lucene.search.IndexSearcher.searchAfter(IndexSearcher.java:305)	at org.neo4j.kernel.api.impl.index.PageOfRangesIterator.fetchNextOrNull(PageOfRangesIterator.java:67)	at org.neo4j.kernel.api.impl.index.PageOfRangesIterator.fetchNextOrNull(PageOfRangesIterator.java:35)	at org.neo4j.helpers.collection.PrefetchingIterator.peek(PrefetchingIterator.java:60)	at org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:46)	at org.neo4j.collection.primitive.PrimitiveLongCollections$PrimitiveLongConcatingIterator.fetchNext(PrimitiveLongCollections.java:196)	at org.neo4j.collection.primitive.PrimitiveLongCollections$PrimitiveLongBaseIterator.hasNext(PrimitiveLongCollections.java:56)	at org.neo4j.collection.primitive.PrimitiveLongCollections$14.hasNext(PrimitiveLongCollections.java:740)	at org.neo4j.helpers.collection.ResourceClosingIterator.hasNext(ResourceClosingIterator.java:61)	at com.graphaware.tx.executor.input.TransactionalInput.fetchNextOrNull(TransactionalInput.java:72)	at org.neo4j.helpers.collection.PrefetchingIterator.peek(PrefetchingIterator.java:60)	at org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:46)	at com.graphaware.tx.executor.batch.IterableInputBatchTransactionExecutor$1.run(IterableInputBatchTransactionExecutor.java:85)	at java.lang.Thread.run(Thread.java:745)