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 Mark Derricutt, 1 year ago
this IndexReader is closed
via Sonatype JIRA by Mark Derricutt, 1 year ago
this IndexReader is closed
via Sonatype JIRA by Emil Genchev, 1 year ago
this IndexReader is closed
via GitHub by k4200
, 9 months ago
this IndexReader is closed
org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:163)
at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:655)
at org.apache.lucene.index.MultiSegmentReader.document(MultiSegmentReader.java:257)
at org.sonatype.nexus.index.context.DefaultIndexingContext.rebuildGroups(DefaultIndexingContext.java:724)
at org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:586)
at org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:524)
at org.sonatype.nexus.index.DefaultIndexerManager.mergeRepositoryGroupIndexWithMember(DefaultIndexerManager.java:804)
at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:751)
at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1397)
at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:47)
at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception.

Write tip

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