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

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 Sonatype JIRA by Emil Genchev, 1 year ago
this IndexReader is closed
via GitHub by jansta
, 2 months ago
this IndexReader is closed
via gmane.org by Unknown author, 1 year ago
this IndexReader cannot be used anymore as one of its child readers was closed*
org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:177)
at org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:531)
at org.apache.lucene.index.MultiReader.document(MultiReader.java:251)
at org.apache.maven.index.updater.IndexDataWriter.writeDocuments(IndexDataWriter.java:149)
at org.apache.maven.index.updater.IndexDataWriter.write(IndexDataWriter.java:87)
at org.apache.maven.index.packer.DefaultIndexPacker.writeIndexData(DefaultIndexPacker.java:426)
at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:1230)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.