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

Sonatype JIRA | Masanobu Horiyama | 5 years ago
  1. 0

    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]

    Sonatype JIRA | 5 years ago | Masanobu Horiyama
    org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
  2. 0

    Self-test fails, search is working, reindexing fails

    GitHub | 2 years ago | mpaepper
    org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
  3. 0

    Shard unassigned after failing to flush in elastic search

    Stack Overflow | 3 years ago | boris
    org.elasticsearch.index.engine.IndexFailedEngineException: [cvk][0] Index failed for [public#22017747]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    forum.yacy.de • Thema anzeigen - Fehlermeldungen ohne Ende!

    yacy-websuche.de | 1 year ago
    org.apache.solr.common.SolrException: Exception writing document id QWKxd4Ou1PgA to the index; possible analysis error.
  6. 0

    liferay org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException

    Stack Overflow | 1 year ago | user3206686
    org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.lucene.store.AlreadyClosedException

      this IndexWriter is closed

      at org.apache.lucene.index.DocumentsWriter.waitReady()
    2. Lucene
      IndexWriter.updateDocument
      1. 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]
      2. 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]
      3. 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]
      4. 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]
      5. 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]
      6. 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]
      6 frames
    3. Maven :: Indexer Core
      DefaultNexusIndexer.addArtifactToIndex
      1. org.apache.maven.index.DefaultIndexerEngine.update(DefaultIndexerEngine.java:83)[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE]
      2. org.apache.maven.index.DefaultNexusIndexer.addArtifactToIndex(DefaultNexusIndexer.java:371)[indexer-core-4.1.3-SONATYPE.jar:4.1.3-SONATYPE]
      2 frames
    4. Sonatype Nexus Indexer
      DefaultIndexerManager.addItemToIndex
      1. org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:655)[nexus-indexer-lucene-plugin-2.0.4-1.jar:na]
      1 frame
    5. ${project.groupId}:${project.artifactId}
      DefaultEventInspectorHost$EventInspectorHandler.run
      1. org.sonatype.nexus.events.IndexerManagerEventInspector.inspectForIndexerManager(IndexerManagerEventInspector.java:75)[nexus-indexer-lucene-plugin-2.0.4-1.jar:na]
      2. org.sonatype.nexus.events.IndexerManagerEventInspector.inspect(IndexerManagerEventInspector.java:60)[nexus-indexer-lucene-plugin-2.0.4-1.jar:na]
      3. org.sonatype.nexus.events.DefaultEventInspectorHost$EventInspectorHandler.run(DefaultEventInspectorHost.java:184)[nexus-app-2.0.4-1.jar:na]
      3 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_31]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_31]
      3. java.lang.Thread.run(Thread.java:662)[na:1.6.0_31]
      3 frames