org.apache.lucene.store.AlreadyClosedException

this IndexReader is closed

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web165

  • this IndexReader is closed
  • this IndexReader is closed
  • via Google Groups by Alan Robertson, 6 months ago
    this IndexReader is closed
  • Stack trace

    • org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:245) at org.apache.lucene.index.IndexReader.incRef(IndexReader.java:147) at org.hibernate.search.backend.impl.lucene.NRTWorkspaceImpl.openIndexReader(NRTWorkspaceImpl.java:215) at org.hibernate.search.reader.impl.MultiReaderFactory.openReader(MultiReaderFactory.java:49) at org.hibernate.search.query.engine.impl.HSQueryImpl.buildSearcher(HSQueryImpl.java:612) at org.hibernate.search.query.engine.impl.HSQueryImpl.buildSearcher(HSQueryImpl.java:511) at org.hibernate.search.query.engine.impl.HSQueryImpl.queryEntityInfos(HSQueryImpl.java:249) at org.hibernate.search.query.hibernate.impl.FullTextQueryImpl.list(FullTextQueryImpl.java:209)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.