# clusterService#updateTask-pool-11-thread-3" java.lang.NullPointerException

**URL:** <https://discuss.elastic.co/t/clusterservice-updatetask-pool-11-thread-3-java-lang-nullpointerexception/6614>\
**Category:** Elasticsearch\
**Created:** [February 7, 2012, 6:50am UTC](https://discuss.elastic.co/t/clusterservice-updatetask-pool-11-thread-3-java-lang-nullpointerexception/6614 "2012-02-07T06:50:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maik](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@maik](https://discuss.elastic.co/u/maik)\
**Post date:** [February 7, 2012, 6:50am UTC](https://discuss.elastic.co/t/clusterservice-updatetask-pool-11-thread-3-java-lang-nullpointerexception/6614/1 "2012-02-07T06:50:12Z")

</div>

Hi,

i just restarted my two elasticsearch test nodes and got following  
issue:

Node one ("sorge"):  
[2012-02-07 07:46:02,029][TRACE][transport.netty] [sorge]  
channel opened: [id: 0x33d869b2, /10.0.12.140:46574 =\> /  
10.0.12.141:9300]  
[2012-02-07 07:46:02,029][TRACE][transport.netty] [sorge]  
channel opened: [id: 0x584ba778, /10.0.12.140:46575 =\> /  
10.0.12.141:9300]  
[2012-02-07 07:46:02,047][DEBUG][cluster.service] [sorge]  
processing [zen-disco-receive(join from node[[godel]  
[n7os2qKSQySDTbN3BOP8rQ][inet[/10.0.12.140:9300]]])]: execute  
Exception in thread "elasticsearch[sorge]clusterService#updateTask-  
pool-11-thread-3" java.lang.NullPointerException  
at  
org.elasticsearch.cluster.routing.RoutingNode.prettyPrint(RoutingNode.java:  
142)  
at  
org.elasticsearch.cluster.routing.RoutingNodes.prettyPrint(RoutingNodes.java:  
241)  
at org.elasticsearch.cluster.service.InternalClusterService  
$2.run(InternalClusterService.java:301)  
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:619)

Node two ("godel") now logs out every second:  
[2012-02-07 07:48:25,231][TRACE][discovery.zen.fd] [godel]  
[master] [[sorge][TAJbE\_Q0QjuZJA0O2YrQKw][inet[/10.0.12.141:9300]]]  
does not have us registered with it...  
[2012-02-07 07:48:26,231][TRACE][discovery.zen.fd] [godel]  
[master] [[sorge][TAJbE\_Q0QjuZJA0O2YrQKw][inet[/10.0.12.141:9300]]]  
does not have us registered with it...  
[2012-02-07 07:48:27,232][TRACE][discovery.zen.fd] [godel]  
[master] [[sorge][TAJbE\_Q0QjuZJA0O2YrQKw][inet[/10.0.12.141:9300]]]  
does ...

Shutting down sorge and restarting it solved the problem.  
Any idea whats wrong?

maik

---

<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 7, 2012, 10:28am UTC](https://discuss.elastic.co/t/clusterservice-updatetask-pool-11-thread-3-java-lang-nullpointerexception/6614/2 "2012-02-07T10:28:52Z")

</div>

Yes, its a bug in the debug printing of the cluster state, has been fixed in upcoming 0.19.

On Tuesday, February 7, 2012 at 8:50 AM, maik wrote:

> Hi,
> 
> i just restarted my two elasticsearch test nodes and got following  
> issue:
> 
> Node one ("sorge"):  
> [2012-02-07 07:46:02,029][TRACE][transport.netty] [sorge]  
> channel opened: [id: 0x33d869b2, /10.0.12.140:46574 =\> /  
> 10.0.12.141:9300]  
> [2012-02-07 07:46:02,029][TRACE][transport.netty] [sorge]  
> channel opened: [id: 0x584ba778, /10.0.12.140:46575 =\> /  
> 10.0.12.141:9300]  
> [2012-02-07 07:46:02,047][DEBUG][cluster.service] [sorge]  
> processing [zen-disco-receive(join from node[[godel]  
> [n7os2qKSQySDTbN3BOP8rQ][inet[/10.0.12.140:9300]]])]: execute  
> Exception in thread "elasticsearch[sorge]clusterService#updateTask-  
> pool-11-thread-3" java.lang.NullPointerException  
> at  
> org.elasticsearch.cluster.routing.RoutingNode.prettyPrint(RoutingNode.java:  
> 142)  
> at  
> org.elasticsearch.cluster.routing.RoutingNodes.prettyPrint(RoutingNodes.java:  
> 241)  
> at org.elasticsearch.cluster.service.InternalClusterService  
> $2.run(InternalClusterService.java:301)  
> 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:619)
> 
> Node two ("godel") now logs out every second:  
> [2012-02-07 07:48:25,231][TRACE][discovery.zen.fd] [godel]  
> [master] [[sorge][TAJbE\_Q0QjuZJA0O2YrQKw][inet[/10.0.12.141:9300]]]  
> does not have us registered with it...  
> [2012-02-07 07:48:26,231][TRACE][discovery.zen.fd] [godel]  
> [master] [[sorge][TAJbE\_Q0QjuZJA0O2YrQKw][inet[/10.0.12.141:9300]]]  
> does not have us registered with it...  
> [2012-02-07 07:48:27,232][TRACE][discovery.zen.fd] [godel]  
> [master] [[sorge][TAJbE\_Q0QjuZJA0O2YrQKw][inet[/10.0.12.141:9300]]]  
> does ...
> 
> Shutting down sorge and restarting it solved the problem.  
> Any idea whats wrong?
> 
> maik

---

<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, 3:40am UTC](https://discuss.elastic.co/t/clusterservice-updatetask-pool-11-thread-3-java-lang-nullpointerexception/6614/3 "2017-07-06T03:40:18Z")

</div>


