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

Hibernate JIRA | Sanne Grinovero | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. org.apache.lucene.store.AlreadyClosedException

      this IndexReader is closed

      at org.apache.lucene.index.IndexReader.ensureOpen()
    2. Lucene
      IndexReader.incRef
      1. org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:245)
      2. org.apache.lucene.index.IndexReader.incRef(IndexReader.java:147)
      2 frames
    3. Hibernate Search Engine
      HSQueryImpl.queryEntityInfos
      1. org.hibernate.search.backend.impl.lucene.NRTWorkspaceImpl.openIndexReader(NRTWorkspaceImpl.java:215)
      2. org.hibernate.search.reader.impl.MultiReaderFactory.openReader(MultiReaderFactory.java:49)
      3. org.hibernate.search.query.engine.impl.HSQueryImpl.buildSearcher(HSQueryImpl.java:612)
      4. org.hibernate.search.query.engine.impl.HSQueryImpl.buildSearcher(HSQueryImpl.java:511)
      5. org.hibernate.search.query.engine.impl.HSQueryImpl.queryEntityInfos(HSQueryImpl.java:249)
      5 frames
    4. Hibernate Search ORM
      FullTextQueryImpl.list
      1. org.hibernate.search.query.hibernate.impl.FullTextQueryImpl.list(FullTextQueryImpl.java:209)
      1 frame