org.apache.lucene.store.AlreadyClosedException

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.

  • Searching for an artifact takes ~20 seconds after which an error is displayed "Problem parsing error response: undefined" See attachement. We are using: Sonatype Nexus™ Open Source Edition, Version: 2.0.4-1 The nexus.log shows the following stack trace: 2012-05-24 14:13:32 ERROR [t-1-thread-2643] - org.sonatype.nexus.events.IndexerManagerEventInspector - Could not maintain index! org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed at org.apache.lucene.index.DocumentsWriter.waitReady(DocumentsWriter.java:914) ~[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.DocumentsWriter.getThreadState(DocumentsWriter.java:748) ~[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:814) ~[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:807) ~[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2155) ~[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2127) ~[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.maven.index.DefaultIndexerEngine.update(DefaultIndexerEngine.java:83) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] at org.apache.maven.index.DefaultNexusIndexer.addArtifactToIndex(DefaultNexusIndexer.java:371) ~[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] at org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:655) ~[nexus-indexer-lucene-plugin-2.0.4-1.jar:na] at org.sonatype.nexus.events.IndexerManagerEventInspector.inspectForIndexerManager(IndexerManagerEventInspector.java:75) [nexus-indexer-lucene-plugin-2.0.4-1.jar:na] at org.sonatype.nexus.events.IndexerManagerEventInspector.inspect(IndexerManagerEventInspector.java:60) [nexus-indexer-lucene-plugin-2.0.4-1.jar:na] at org.sonatype.nexus.events.DefaultEventInspectorHost$EventInspectorHandler.run(DefaultEventInspectorHost.java:184) [nexus-app-2.0.4-1.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_31] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_31] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_31]
    via by Masanobu Horiyama,
  • errors on shutdown
    via GitHub by aaannndddyyy
    ,
  • Help with Moloch ES Index Issue
    via GitHub by dfinf2
    ,
    • org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed at org.apache.lucene.index.DocumentsWriter.waitReady(DocumentsWriter.java:914)[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.DocumentsWriter.getThreadState(DocumentsWriter.java:748)[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:814)[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:807)[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2155)[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2127)[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19] at org.apache.maven.index.DefaultIndexerEngine.update(DefaultIndexerEngine.java:83)[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] at org.apache.maven.index.DefaultNexusIndexer.addArtifactToIndex(DefaultNexusIndexer.java:371)[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE] at org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:655)[nexus-indexer-lucene-plugin-2.0.4-1.jar:na] at org.sonatype.nexus.events.IndexerManagerEventInspector.inspectForIndexerManager(IndexerManagerEventInspector.java:75)[nexus-indexer-lucene-plugin-2.0.4-1.jar:na] at org.sonatype.nexus.events.IndexerManagerEventInspector.inspect(IndexerManagerEventInspector.java:60)[nexus-indexer-lucene-plugin-2.0.4-1.jar:na] at org.sonatype.nexus.events.DefaultEventInspectorHost$EventInspectorHandler.run(DefaultEventInspectorHost.java:184)[nexus-app-2.0.4-1.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_31] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_31] at java.lang.Thread.run(Thread.java:662)[na:1.6.0_31]

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,