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

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

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