After installing sheild getting MappingUpdatedAction Exception


My ES version is :1.5.2
inastalled shield:
bin/plugin install elasticsearch/shield/latest
bin/plugin install elasticsearch/license/latest

When i tring to add the users
bin/shield/esusers useradd new_username -r admin

it is saying to copy folder "sheild" from /usr/share/elasticsearch to the /etc/elasticsearch

i copied and execute the comamnd..

Now then i restrated my elasticsearch.

/etc/init.d/elasticsearch restart

Now getting this belkow exception:
Restarting elasticsearch:
Exception in thread "Thread-1" java.lang.NullPointerException
at org.elasticsearch.cluster.action.index.MappingUpdatedAction.stop(
at org.elasticsearch.node.internal.InternalNode.stop(
at org.elasticsearch.node.internal.InternalNode.close(
at org.elasticsearch.bootstrap.Bootstrap$

PLease anyone help me ot regarding this



I suggest you remove the Shield and License plugins and re-install them using this command:

cd /usr/share/elasticsearch
sudo bin/plugin -i elasticsearch/license/1.0.0 -Des.path.conf=/etc/elasticsearch
sudo bin/plugin -i elasticsearch/shield/1.3.3 -Des.path.conf=/etc/elasticsearch

See these instructions:


okayy ....thank you