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

opensearchserve | neuner | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    OpenSearchServer Search Engine / Discussion / Help:Possible bug: Expected scheme-specific part at index 7: mailto:

    sourceforge.net | 9 months ago
    org.apache.lucene.store.AlreadyClosedException: this Directory is closed
  2. 0

    Possible bug: Expected scheme-specific part at index 7: mailto:

    opensearchserve | 4 years ago | neuner
    org.apache.lucene.store.AlreadyClosedException: this Directory is closed

    Root Cause Analysis

    1. org.apache.lucene.store.AlreadyClosedException

      this Directory is closed

      at org.apache.lucene.store.Directory.ensureOpen()
    2. Lucene
      IndexWriter.close
      1. org.apache.lucene.store.Directory.ensureOpen(Directory.java:255)
      2. org.apache.lucene.store.FSDirectory.fileExists(FSDirectory.java:548)
      3. org.apache.lucene.index.SegmentInfo.addIfExists(SegmentInfo.java:574)
      4. org.apache.lucene.index.SegmentInfo.files(SegmentInfo.java:600)
      5. org.apache.lucene.index.SegmentInfos.files(SegmentInfos.java:803)
      6. org.apache.lucene.index.IndexFileDeleter.incRef(IndexFileDeleter.java:458)
      7. org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:5576)
      8. org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:4160)
      9. org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:2260)
      10. org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2204)
      11. org.apache.lucene.index.IndexWriter.close(IndexWriter.java:2168)
      11 frames
    3. com.jaeksoft.searchlib
      ThreadAbstract.run
      1. com.jaeksoft.searchlib.index.WriterLocal.close(WriterLocal.java:94)
      2. com.jaeksoft.searchlib.index.WriterLocal.deleteDocumentsNoLock(WriterLocal.java:393)
      3. com.jaeksoft.searchlib.index.WriterLocal.deleteDocuments(WriterLocal.java:410)
      4. com.jaeksoft.searchlib.index.IndexSingle.deleteDocuments(IndexSingle.java:148)
      5. com.jaeksoft.searchlib.Client.deleteDocuments(Client.java:198)
      6. com.jaeksoft.searchlib.crawler.web.database.UrlManager.updateCrawlTarget(UrlManager.java:621)
      7. com.jaeksoft.searchlib.crawler.web.database.UrlCrawlQueue.updateCrawls(UrlCrawlQueue.java:191)
      8. com.jaeksoft.searchlib.crawler.web.database.UrlCrawlQueue.indexWork(UrlCrawlQueue.java:167)
      9. com.jaeksoft.searchlib.crawler.common.process.CrawlQueueAbstract.index(CrawlQueueAbstract.java:113)
      10. com.jaeksoft.searchlib.crawler.web.process.WebCrawlMaster.runner(WebCrawlMaster.java:140)
      11. com.jaeksoft.searchlib.process.ThreadAbstract.run(ThreadAbstract.java:256)
      11 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:679)
      3 frames