org.apache.lucene.store.AlreadyClosedException: this IndexWriter 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 Masanobu Horiyama, 1 year ago
this IndexWriter is closed
via Sonatype JIRA by Marc Lustig, 1 year ago
this IndexWriter is closed
via Sonatype JIRA by Juven Xu, 1 year ago
this IndexWriter is closed
org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
at org.apache.lucene.index.DocumentsWriter.waitReady(DocumentsWriter.java:914)
at org.apache.lucene.index.DocumentsWriter.getThreadState(DocumentsWriter.java:748)
at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:814)
at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:807)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2155)
at org.apache.maven.index.DefaultIndexerEngine.update(DefaultIndexerEngine.java:83)
at org.sonatype.nexus.events.IndexerManagerEventInspector.inspectForIndexerManager(IndexerManagerEventInspector.java:75)
at org.sonatype.nexus.events.IndexerManagerEventInspector.inspect(IndexerManagerEventInspector.java:60)
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:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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