# Yet another minor exception: AlreadyClosedException

**URL:** <https://discuss.elastic.co/t/yet-another-minor-exception-alreadyclosedexception/3931>\
**Category:** Elasticsearch\
**Created:** [February 15, 2011, 2:37pm UTC](https://discuss.elastic.co/t/yet-another-minor-exception-alreadyclosedexception/3931 "2011-02-15T14:37:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)\
**Post date:** [February 15, 2011, 2:37pm UTC](https://discuss.elastic.co/t/yet-another-minor-exception-alreadyclosedexception/3931/1 "2011-02-15T14:37:14Z")

</div>

What could be the cause?

Regards,  
Peter.

[tp]-pool-1-thread-59] WARN  
org.elasticsearch.index.cache.bloom.simple - [Artemis] [twindex]  
failed to load bloom filter for [\_uid]  
org.apache.lucene.store.AlreadyClosedException: this IndexReader is  
closed  
at  
org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:177)  
at  
org.apache.lucene.index.SegmentReader.termDocs(SegmentReader.java:962)  
at org.elasticsearch.index.cache.bloom.simple.SimpleBloomCache  
$BloomFilterLoader.run(SimpleBloomCache.java:181)  
at java.util.concurrent.ThreadPoolExecutor  
$Worker.runTask(ThreadPoolExecutor.java:886)  
at java.util.concurrent.ThreadPoolExecutor  
$Worker.run(ThreadPoolExecutor.java:908)  
at java.lang.Thread.run(Thread.java:662)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 15, 2011, 9:27pm UTC](https://discuss.elastic.co/t/yet-another-minor-exception-alreadyclosedexception/3931/2 "2011-02-15T21:27:36Z")

</div>

Thats ok, the bloom filter was getting async loaded, and the shard got closed on it. I pushed a fix not to log this failure.  
On Tuesday, February 15, 2011 at 4:37 PM, Karussell wrote:

> What could be the cause?
> 
> Regards,  
> Peter.
> 
> [tp]-pool-1-thread-59] WARN  
> org.elasticsearch.index.cache.bloom.simple - [Artemis] [twindex]  
> failed to load bloom filter for [\_uid]  
> org.apache.lucene.store.AlreadyClosedException: this IndexReader is  
> closed  
> at  
> org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:177)  
> at  
> org.apache.lucene.index.SegmentReader.termDocs(SegmentReader.java:962)  
> at org.elasticsearch.index.cache.bloom.simple.SimpleBloomCache  
> $BloomFilterLoader.run(SimpleBloomCache.java:181)  
> at java.util.concurrent.ThreadPoolExecutor  
> $Worker.runTask(ThreadPoolExecutor.java:886)  
> at java.util.concurrent.ThreadPoolExecutor  
> $Worker.run(ThreadPoolExecutor.java:908)  
> at java.lang.Thread.run(Thread.java:662)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:12am UTC](https://discuss.elastic.co/t/yet-another-minor-exception-alreadyclosedexception/3931/3 "2017-07-06T04:12:03Z")

</div>

Closed on July 6, 2017, 4:12am UTC


