# NullPointerException failed to dynamically refresh the mapping in cluster\_state from shard

**URL:** <https://discuss.elastic.co/t/nullpointerexception-failed-to-dynamically-refresh-the-mapping-in-cluster-state-from-shard/10665>\
**Category:** Elasticsearch\
**Created:** [February 8, 2013, 10:02am UTC](https://discuss.elastic.co/t/nullpointerexception-failed-to-dynamically-refresh-the-mapping-in-cluster-state-from-shard/10665 "2013-02-08T10:02:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filirom1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/filirom1/32/2234_2.png) [@Filirom1](https://discuss.elastic.co/u/Filirom1)\
**Post date:** [February 8, 2013, 10:02am UTC](https://discuss.elastic.co/t/nullpointerexception-failed-to-dynamically-refresh-the-mapping-in-cluster-state-from-shard/10665/1 "2013-02-08T10:02:44Z")

</div>

Hi,

I have this error message since 1 month :-/, and yesterday the cluster stop  
indexing and answering to requests.

[2013-02-08 10:35:02,206][INFO][cluster.metadata] [nodeA]  
[4f072ea3a623374256000001] update\_mapping [5114c6c5511a3418550000ce]  
(dynamic)  
[2013-02-08 10:35:04,349][INFO][cluster.metadata] [nodeA]  
[[4f072ea3a623374256000001]] remove\_mapping [5114c6c5511a3418550000ce]  
[2013-02-08 10:35:04,526][INFO][cluster.metadata] [nodeA]  
[[4f072ea3a623374256000001]] remove\_mapping [5114c6c5e5c0e0950f0000cc]  
java.lang.NullPointerException  
[2013-02-08 10:35:11,326][WARN][cluster.metadata] [nodeA] failed to  
dynamically refresh the mapping in cluster\_state from shard  
java.lang.NullPointerException  
[2013-02-08 10:35:12,808][WARN][cluster.metadata] [nodeA] failed to  
dynamically refresh the mapping in cluster\_state from shard  
java.lang.NullPointerException

I have a 4 nodes cluster in version 0.19.11.

I think the problem start here:

[2012-11-28 11:02:02,324][INFO][cluster.routing.allocation.decider]  
[nodeA] updating [cluster.routing.allocation.disable\_allocation] from  
[false] to [true]  
…  
[2012-11-28 14:45:02,000][INFO][cluster.metadata] [nodeA]  
[5087ea93e1d860ef60000002] update\_mapping [50b6155c46b88e9737000183]  
(dynamic)  
[2012-11-28 14:45:02,056][INFO][cluster.metadata] [nodeA]  
[4f072ea3a623374256000001] update\_mapping [50b6155d46b88e9737000185]  
(dynamic)  
[2012-11-28 14:45:04,359][INFO][cluster.metadata] [nodeA]  
[[4f072ea3a623374256000001]] remove\_mapping [50b6155d46b88e9737000185]  
[2012-11-28 14:45:04,482][WARN][cluster.metadata] [nodeA] failed to  
dynamically refresh the mapping in cluster\_state from shard  
java.lang.NullPointerException  
at  
org.elasticsearch.cluster.metadata.MetaDataMappingService$1.execute(MetaDataMappingService.java:130)  
at  
org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:208)  
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)

May I fill an issue with this ?

Cheers  
Romain

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Filirom1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/filirom1/32/2234_2.png) [@Filirom1](https://discuss.elastic.co/u/Filirom1)\
**Post date:** [February 8, 2013, 10:29am UTC](https://discuss.elastic.co/t/nullpointerexception-failed-to-dynamically-refresh-the-mapping-in-cluster-state-from-shard/10665/2 "2013-02-08T10:29:57Z")

</div>

I filled an issue on github  
: [NullPointerException failed to dynamically refresh the mapping in cluster\_state from shard · Issue #2633 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2633)

Le vendredi 8 février 2013 11:02:44 UTC+1, Filirom1 a écrit :

> Hi,
> 
> I have this error message since 1 month :-/, and yesterday the cluster  
> stop indexing and answering to requests.
> 
> [2013-02-08 10:35:02,206][INFO][cluster.metadata] [nodeA]  
> [4f072ea3a623374256000001] update\_mapping [5114c6c5511a3418550000ce]  
> (dynamic)  
> [2013-02-08 10:35:04,349][INFO][cluster.metadata] [nodeA]  
> [[4f072ea3a623374256000001]] remove\_mapping [5114c6c5511a3418550000ce]  
> [2013-02-08 10:35:04,526][INFO][cluster.metadata] [nodeA]  
> [[4f072ea3a623374256000001]] remove\_mapping [5114c6c5e5c0e0950f0000cc]  
> java.lang.NullPointerException  
> [2013-02-08 10:35:11,326][WARN][cluster.metadata] [nodeA] failed to  
> dynamically refresh the mapping in cluster\_state from shard  
> java.lang.NullPointerException  
> [2013-02-08 10:35:12,808][WARN][cluster.metadata] [nodeA] failed to  
> dynamically refresh the mapping in cluster\_state from shard  
> java.lang.NullPointerException
> 
> I have a 4 nodes cluster in version 0.19.11.
> 
> I think the problem start here:
> 
> [2012-11-28 11:02:02,324][INFO][cluster.routing.allocation.decider]  
> [nodeA] updating [cluster.routing.allocation.disable\_allocation] from  
> [false] to [true]  
> …  
> [2012-11-28 14:45:02,000][INFO][cluster.metadata] [nodeA]  
> [5087ea93e1d860ef60000002] update\_mapping [50b6155c46b88e9737000183]  
> (dynamic)  
> [2012-11-28 14:45:02,056][INFO][cluster.metadata] [nodeA]  
> [4f072ea3a623374256000001] update\_mapping [50b6155d46b88e9737000185]  
> (dynamic)  
> [2012-11-28 14:45:04,359][INFO][cluster.metadata] [nodeA]  
> [[4f072ea3a623374256000001]] remove\_mapping [50b6155d46b88e9737000185]  
> [2012-11-28 14:45:04,482][WARN][cluster.metadata] [nodeA] failed to  
> dynamically refresh the mapping in cluster\_state from shard  
> java.lang.NullPointerException  
> at  
> org.elasticsearch.cluster.metadata.MetaDataMappingService$1.execute(MetaDataMappingService.java:130)  
> at  
> org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:208)  
> 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)
> 
> May I fill an issue with this ?
> 
> Cheers  
> Romain

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:52am UTC](https://discuss.elastic.co/t/nullpointerexception-failed-to-dynamically-refresh-the-mapping-in-cluster-state-from-shard/10665/3 "2017-07-06T02:52:27Z")

</div>


