# NullPointer with plugins

**URL:** <https://discuss.elastic.co/t/nullpointer-with-plugins/14365>\
**Category:** Elasticsearch\
**Created:** [November 12, 2013, 7:25pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365 "2013-11-12T19:25:19Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 12, 2013, 7:25pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/1 "2013-11-12T19:25:19Z")

</div>

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?

[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

- NullPointerException[null]

s

[root@ip-10-80-140-242 ~]# ls -ltr  
/usr/share/elasticsearch/plugins/head/\_site  
total 40  
-rw------- 1 root root 559 Nov 12 14:16 LICENCE  
-rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js  
-rw------- 1 root root 3843 Nov 12 14:16 README.textile  
drwx------ 4 root root 4096 Nov 12 14:16 dist  
-rw------- 1 root root 735 Nov 12 14:16 package.json  
-rw------- 1 root root 1025 Nov 12 14:16 index.html  
-rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project  
drwx------ 4 root root 4096 Nov 12 14:16 src  
drwx------ 3 root root 4096 Nov 12 14:16 test  
[root@ip-10-80-140-242 ~]# ls -ltr  
/usr/share/elasticsearch/plugins/paramedic/\_site  
total 136  
-rw------- 1 root root 4021 Nov 12 14:19 README.md  
-rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE  
-rw------- 1 root root 897 Nov 12 14:19 Rakefile  
drwx------ 2 root root 4096 Nov 12 14:19 audio  
drwx------ 3 root root 4096 Nov 12 14:19 css  
-rw------- 1 root root 99068 Nov 12 14:19  
elasticsearch-paramedic-screenshot.png  
-rw------- 1 root root 7611 Nov 12 14:19 index.html  
drwx------ 2 root root 4096 Nov 12 14:19 img  
drwx------ 3 root root 4096 Nov 12 14:19 js

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 12, 2013, 9:26pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/2 "2013-11-12T21:26:28Z")

</div>

I don't think it could be caused by site plugins.  
Can you see anything else in logs then this single line?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?  
[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

- NullPointerException[null]

s

## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js

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).

--  
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:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 12, 2013, 10:27pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/3 "2013-11-12T22:27:45Z")

</div>

After I move the plugin directories the problem goes away. I don't see  
anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> I don't think it could be caused by site plugins.  
> Can you see anything else in logs then this single line?
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)//mohitanchlia@gmail.com)  
> a écrit:
> 
> I just insalled a new plugin and when I start elasticsearch I get:
> 
> Am I doing something wrong?
> 
> [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> 
> - NullPointerException[null]
> 
> s
> 
> ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> 
> 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).
> 
> --  
> 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).

--  
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:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 15, 2013, 6:06pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/4 "2013-11-15T18:06:25Z")

</div>

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> After I move the plugin directories the problem goes away. I don't see  
> anything in logs even with TRACE enabled.
> 
> On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > I don't think it could be caused by site plugins.  
> > Can you see anything else in logs then this single line?
> > 
> > --  
> > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> > 
> > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)//mohitanchlia@gmail.com)  
> > a écrit:
> > 
> > I just insalled a new plugin and when I start elasticsearch I get:
> > 
> > Am I doing something wrong?
> > 
> > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > 
> > - NullPointerException[null]
> > 
> > s
> > 
> > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > 
> > 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).
> > 
> > --  
> > 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).

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 15, 2013, 6:57pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/5 "2013-11-15T18:57:34Z")

</div>

Wondering if you have only those dirs in plugins dir.  
Do you have any hidden directory?

What is your Elasticsearch version?  
How did you install the plugins?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

Is there anything that I can try to fix this issue

> On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) wrote:  
> After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.
> 
> > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > I don't think it could be caused by site plugins.  
> > Can you see anything else in logs then this single line?
> > 
> > --  
> > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > @dadoonet | @elasticsearchfr
> > 
> > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)) a écrit:
> > 
> > > I just insalled a new plugin and when I start elasticsearch I get:
> > > 
> > > Am I doing something wrong?  
> > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > 
> > > - NullPointerException[null]
> > > 
> > > s
> > > 
> > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > 
> > > 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).
> > 
> > --  
> > 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).

--  
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).

--  
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:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 15, 2013, 7:38pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/6 "2013-11-15T19:38:42Z")

</div>

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Wondering if you have only those dirs in plugins dir.  
> Do you have any hidden directory?
> 
> What is your Elasticsearch version?  
> How did you install the plugins?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> 
> Is there anything that I can try to fix this issue
> 
> On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > After I move the plugin directories the problem goes away. I don't see  
> > anything in logs even with TRACE enabled.
> > 
> > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > I don't think it could be caused by site plugins.  
> > > Can you see anything else in logs then this single line?
> > > 
> > > --  
> > > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> > > [http://Elasticsearch.com](http://Elasticsearch.com)_  
> > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> > > 
> > > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)//mohitanchlia@gmail.com)  
> > > a écrit:
> > > 
> > > I just insalled a new plugin and when I start elasticsearch I get:
> > > 
> > > Am I doing something wrong?
> > > 
> > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > 
> > > - NullPointerException[null]
> > > 
> > > s
> > > 
> > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > 
> > > 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).
> > > 
> > > --  
> > > 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).
> 
> --  
> 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).
> 
> --  
> 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).

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 15, 2013, 8:41pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/7 "2013-11-15T20:41:27Z")

</div>

Could you run ls -la ./plugins/

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 nov. 2013 à 20:38, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

> On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> Wondering if you have only those dirs in plugins dir.  
> Do you have any hidden directory?
> 
> What is your Elasticsearch version?  
> How did you install the plugins?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> 
> Is there anything that I can try to fix this issue
> 
> > On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) wrote:  
> > After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.
> > 
> > > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > I don't think it could be caused by site plugins.  
> > > Can you see anything else in logs then this single line?
> > > 
> > > --  
> > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > @dadoonet | @elasticsearchfr
> > > 
> > > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)) a écrit:
> > > 
> > > > I just insalled a new plugin and when I start elasticsearch I get:
> > > > 
> > > > Am I doing something wrong?  
> > > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > > 
> > > > - NullPointerException[null]
> > > > 
> > > > s
> > > > 
> > > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > > 
> > > > 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).
> > > 
> > > --  
> > > 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).
> 
> ## -- 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).
> 
> 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).

--  
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).

--  
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:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 15, 2013, 9:12pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/8 "2013-11-15T21:12:51Z")

</div>

[root@ip-10-80-140-242 ~]# ls -la plugins/  
total 16  
drwx------ 4 root root 4096 Nov 12 14:19 .  
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic  
[root@ip-10-80-140-242 ~]# ls -la plugins/\*  
plugins/head:  
total 12  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .  
drwx------ 4 root root 4096 Nov 12 14:19 ..  
drwxr-xr-x 5 root root 4096 Nov 12 14:16 \_site

plugins/paramedic:  
total 12  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .  
drwx------ 4 root root 4096 Nov 12 14:19 ..  
drwxr-xr-x 6 root root 4096 Nov 12 14:19 \_site  
[root@ip-10-80-140-242 ~]# ls -la plugins/_/_  
plugins/head/\_site:  
total 56  
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..  
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist  
-rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project  
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore  
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js  
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html  
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc  
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE  
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json  
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile  
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/\_site:  
total 148  
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..  
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css  
-rwxr-xr-x 1 root root 99068 Nov 12 14:19  
elasticsearch-paramedic-screenshot.png  
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore  
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img  
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js  
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE  
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile  
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md  
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Could you run ls -la ./plugins/
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 15 nov. 2013 à 20:38, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> 
> I downloaded plugin and then used -url file:///path/file.zip -install
> 
> I am using the latest .90.6
> 
> On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > Wondering if you have only those dirs in plugins dir.  
> > Do you have any hidden directory?
> > 
> > What is your Elasticsearch version?  
> > How did you install the plugins?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > 
> > Is there anything that I can try to fix this issue
> > 
> > On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > After I move the plugin directories the problem goes away. I don't see  
> > > anything in logs even with TRACE enabled.
> > > 
> > > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > 
> > > > I don't think it could be caused by site plugins.  
> > > > Can you see anything else in logs then this single line?
> > > > 
> > > > --  
> > > > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> > > > [http://Elasticsearch.com](http://Elasticsearch.com)_  
> > > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> > > > 
> > > > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)//mohitanchlia@gmail.com)  
> > > > a écrit:
> > > > 
> > > > I just insalled a new plugin and when I start elasticsearch I get:
> > > > 
> > > > Am I doing something wrong?
> > > > 
> > > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > > 
> > > > - NullPointerException[null]
> > > > 
> > > > s
> > > > 
> > > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > > 
> > > > 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).
> > > > 
> > > > --  
> > > > 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).
> > 
> > --  
> > 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).
> > 
> > --  
> > 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).
> 
> --  
> 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).
> 
> --  
> 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).

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 15, 2013, 9:39pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/9 "2013-11-15T21:39:23Z")

</div>

Could you gist your full log with TRACE level?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 nov. 2013 à 22:12, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

[root@ip-10-80-140-242 ~]# ls -la plugins/  
total 16  
drwx------ 4 root root 4096 Nov 12 14:19 .  
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic  
[root@ip-10-80-140-242 ~]# ls -la plugins/\*  
plugins/head:  
total 12  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .  
drwx------ 4 root root 4096 Nov 12 14:19 ..  
drwxr-xr-x 5 root root 4096 Nov 12 14:16 \_site

plugins/paramedic:  
total 12  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .  
drwx------ 4 root root 4096 Nov 12 14:19 ..  
drwxr-xr-x 6 root root 4096 Nov 12 14:19 \_site  
[root@ip-10-80-140-242 ~]# ls -la plugins/_/_  
plugins/head/\_site:  
total 56  
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..  
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist  
-rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project  
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore  
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js  
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html  
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc  
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE  
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json  
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile  
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/\_site:  
total 148  
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..  
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css  
-rwxr-xr-x 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png  
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore  
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img  
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js  
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE  
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile  
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md  
[root@ip-10-80-140-242 ~]#

> On Fri, Nov 15, 2013 at 12:41 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> Could you run ls -la ./plugins/
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 15 nov. 2013 à 20:38, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> 
> I downloaded plugin and then used -url file:///path/file.zip -install
> 
> I am using the latest .90.6
> 
> > On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > Wondering if you have only those dirs in plugins dir.  
> > Do you have any hidden directory?
> > 
> > What is your Elasticsearch version?  
> > How did you install the plugins?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > 
> > Is there anything that I can try to fix this issue
> > 
> > > On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) wrote:  
> > > After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.
> > > 
> > > > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > > I don't think it could be caused by site plugins.  
> > > > Can you see anything else in logs then this single line?
> > > > 
> > > > --  
> > > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > > @dadoonet | @elasticsearchfr
> > > > 
> > > > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)) a écrit:
> > > > 
> > > > > I just insalled a new plugin and when I start elasticsearch I get:
> > > > > 
> > > > > Am I doing something wrong?  
> > > > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > > > 
> > > > > - NullPointerException[null]
> > > > > 
> > > > > s
> > > > > 
> > > > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > > > 
> > > > > 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).
> > > > 
> > > > --  
> > > > 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).
> > 
> > ## -- 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).
> > 
> > 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).
> 
> ## -- 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).
> 
> 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).

--  
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).

--  
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:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 15, 2013, 9:56pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/10 "2013-11-15T21:56:49Z")

</div>

By gist you mean upload the logs and commands?

On Fri, Nov 15, 2013 at 1:39 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Could you gist your full log with TRACE level?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 15 nov. 2013 à 22:12, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> 
> [root@ip-10-80-140-242 ~]# ls -la plugins/  
> total 16  
> drwx------ 4 root root 4096 Nov 12 14:19 .  
> dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..  
> drwxr-xr-x 3 root root 4096 Nov 12 14:16 head  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic  
> [root@ip-10-80-140-242 ~]# ls -la plugins/\*  
> plugins/head:  
> total 12  
> drwxr-xr-x 3 root root 4096 Nov 12 14:16 .  
> drwx------ 4 root root 4096 Nov 12 14:19 ..  
> drwxr-xr-x 5 root root 4096 Nov 12 14:16 \_site
> 
> plugins/paramedic:  
> total 12  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 .  
> drwx------ 4 root root 4096 Nov 12 14:19 ..  
> drwxr-xr-x 6 root root 4096 Nov 12 14:19 \_site  
> [root@ip-10-80-140-242 ~]# ls -la plugins/_/_  
> plugins/head/\_site:  
> total 56  
> drwxr-xr-x 5 root root 4096 Nov 12 14:16 .  
> drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..  
> drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist  
> -rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project  
> -rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore  
> -rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js  
> -rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html  
> -rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc  
> -rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE  
> -rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json  
> -rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile  
> drwxr-xr-x 4 root root 4096 Nov 12 14:16 src  
> drwxr-xr-x 3 root root 4096 Nov 12 14:16 test
> 
> plugins/paramedic/\_site:  
> total 148  
> drwxr-xr-x 6 root root 4096 Nov 12 14:19 .  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..  
> drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 css  
> -rwxr-xr-x 1 root root 99068 Nov 12 14:19  
> elasticsearch-paramedic-screenshot.png  
> -rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore  
> drwxr-xr-x 2 root root 4096 Nov 12 14:19 img  
> -rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 js  
> -rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE  
> -rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile  
> -rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md  
> [root@ip-10-80-140-242 ~]#
> 
> On Fri, Nov 15, 2013 at 12:41 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > Could you run ls -la ./plugins/
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 15 nov. 2013 à 20:38, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > 
> > I downloaded plugin and then used -url file:///path/file.zip -install
> > 
> > I am using the latest .90.6
> > 
> > On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > Wondering if you have only those dirs in plugins dir.  
> > > Do you have any hidden directory?
> > > 
> > > What is your Elasticsearch version?  
> > > How did you install the plugins?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a  
> > > écrit :
> > > 
> > > Is there anything that I can try to fix this issue
> > > 
> > > On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > > 
> > > > After I move the plugin directories the problem goes away. I don't see  
> > > > anything in logs even with TRACE enabled.
> > > > 
> > > > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > > 
> > > > > I don't think it could be caused by site plugins.  
> > > > > Can you see anything else in logs then this single line?
> > > > > 
> > > > > --  
> > > > > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> > > > > [http://Elasticsearch.com](http://Elasticsearch.com)_  
> > > > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> > > > > 
> > > > > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)//mohitanchlia@gmail.com)  
> > > > > a écrit:
> > > > > 
> > > > > I just insalled a new plugin and when I start elasticsearch I get:
> > > > > 
> > > > > Am I doing something wrong?
> > > > > 
> > > > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > > > 
> > > > > - NullPointerException[null]
> > > > > 
> > > > > s
> > > > > 
> > > > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > > > 
> > > > > 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).
> > > > > 
> > > > > --  
> > > > > 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).
> > > 
> > > --  
> > > 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).
> > > 
> > > --  
> > > 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).
> > 
> > --  
> > 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).
> > 
> > --  
> > 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).
> 
> --  
> 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).
> 
> --  
> 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).

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 15, 2013, 10:26pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/11 "2013-11-15T22:26:42Z")

</div>

I meant post that on [gist.github.com](http://gist.github.com)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 nov. 2013 à 22:56, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

By gist you mean upload the logs and commands?

> On Fri, Nov 15, 2013 at 1:39 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> Could you gist your full log with TRACE level?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 15 nov. 2013 à 22:12, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> 
> [root@ip-10-80-140-242 ~]# ls -la plugins/  
> total 16  
> drwx------ 4 root root 4096 Nov 12 14:19 .  
> dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..  
> drwxr-xr-x 3 root root 4096 Nov 12 14:16 head  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic  
> [root@ip-10-80-140-242 ~]# ls -la plugins/\*  
> plugins/head:  
> total 12  
> drwxr-xr-x 3 root root 4096 Nov 12 14:16 .  
> drwx------ 4 root root 4096 Nov 12 14:19 ..  
> drwxr-xr-x 5 root root 4096 Nov 12 14:16 \_site
> 
> plugins/paramedic:  
> total 12  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 .  
> drwx------ 4 root root 4096 Nov 12 14:19 ..  
> drwxr-xr-x 6 root root 4096 Nov 12 14:19 \_site  
> [root@ip-10-80-140-242 ~]# ls -la plugins/_/_  
> plugins/head/\_site:  
> total 56  
> drwxr-xr-x 5 root root 4096 Nov 12 14:16 .  
> drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..  
> drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist  
> -rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project  
> -rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore  
> -rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js  
> -rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html  
> -rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc  
> -rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE  
> -rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json  
> -rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile  
> drwxr-xr-x 4 root root 4096 Nov 12 14:16 src  
> drwxr-xr-x 3 root root 4096 Nov 12 14:16 test
> 
> plugins/paramedic/\_site:  
> total 148  
> drwxr-xr-x 6 root root 4096 Nov 12 14:19 .  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..  
> drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 css  
> -rwxr-xr-x 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png  
> -rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore  
> drwxr-xr-x 2 root root 4096 Nov 12 14:19 img  
> -rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html  
> drwxr-xr-x 3 root root 4096 Nov 12 14:19 js  
> -rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE  
> -rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile  
> -rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md  
> [root@ip-10-80-140-242 ~]#
> 
> > On Fri, Nov 15, 2013 at 12:41 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > Could you run ls -la ./plugins/
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 15 nov. 2013 à 20:38, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > 
> > I downloaded plugin and then used -url file:///path/file.zip -install
> > 
> > I am using the latest .90.6
> > 
> > > On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > Wondering if you have only those dirs in plugins dir.  
> > > Do you have any hidden directory?
> > > 
> > > What is your Elasticsearch version?  
> > > How did you install the plugins?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > > 
> > > Is there anything that I can try to fix this issue
> > > 
> > > > On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) wrote:  
> > > > After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.
> > > > 
> > > > > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > > > I don't think it could be caused by site plugins.  
> > > > > Can you see anything else in logs then this single line?
> > > > > 
> > > > > --  
> > > > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > > > @dadoonet | @elasticsearchfr
> > > > > 
> > > > > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)) a écrit:
> > > > > 
> > > > > > I just insalled a new plugin and when I start elasticsearch I get:
> > > > > > 
> > > > > > Am I doing something wrong?  
> > > > > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > > > > 
> > > > > > - NullPointerException[null]
> > > > > > 
> > > > > > s
> > > > > > 
> > > > > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > > > > 
> > > > > > 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).
> > > > > 
> > > > > --  
> > > > > 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).
> > > 
> > > ## -- 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).
> > > 
> > > 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).
> > 
> > ## -- 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).
> > 
> > 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).
> 
> ## -- 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).
> 
> 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).

--  
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).

--  
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:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 15, 2013, 11:09pm UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/12 "2013-11-15T23:09:42Z")

</div>

This is the only log entry I got in es:

[2013-11-15 18:08:32,326][INFO][node] [10.80.140.242] version[0.90.6],  
pid[22125], build[e2a24ef/2013-11-04T13:55:15Z]

[2013-11-15 18:08:32,326][INFO][node] [10.80.140.242] initializing ...

[2013-11-15 18:08:32,326][DEBUG][node] [10.80.140.242] using home  
[/usr/share/elasticsearch], config [/etc/elasticsearch], data [[/data/es]],  
logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins  
[/usr/share/elasticsearch/plugins]

[2013-11-15 18:08:32,331][DEBUG][bootstrap] Exception

java.lang.NullPointerException

at  
org.elasticsearch.plugins.PluginsService.loadPluginsIntoClassLoader(PluginsService.java:367)

at org.elasticsearch.plugins.PluginsService.(PluginsService.java:92)

at  
org.elasticsearch.node.internal.InternalNode.(InternalNode.java:135)

at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)

at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:68)

at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:201)

at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

On Fri, Nov 15, 2013 at 2:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> I meant post that on [gist.github.com](http://gist.github.com)
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 15 nov. 2013 à 22:56, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> 
> By gist you mean upload the logs and commands?
> 
> On Fri, Nov 15, 2013 at 1:39 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > Could you gist your full log with TRACE level?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 15 nov. 2013 à 22:12, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > 
> > [root@ip-10-80-140-242 ~]# ls -la plugins/  
> > total 16  
> > drwx------ 4 root root 4096 Nov 12 14:19 .  
> > dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:16 head  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic  
> > [root@ip-10-80-140-242 ~]# ls -la plugins/\*  
> > plugins/head:  
> > total 12  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:16 .  
> > drwx------ 4 root root 4096 Nov 12 14:19 ..  
> > drwxr-xr-x 5 root root 4096 Nov 12 14:16 \_site
> > 
> > plugins/paramedic:  
> > total 12  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 .  
> > drwx------ 4 root root 4096 Nov 12 14:19 ..  
> > drwxr-xr-x 6 root root 4096 Nov 12 14:19 \_site  
> > [root@ip-10-80-140-242 ~]# ls -la plugins/_/_  
> > plugins/head/\_site:  
> > total 56  
> > drwxr-xr-x 5 root root 4096 Nov 12 14:16 .  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..  
> > drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist  
> > -rwxr-xr-x 1 root root 103 Nov 12 14:16  
> > elasticsearch-head.sublime-project  
> > -rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore  
> > -rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js  
> > -rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html  
> > -rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc  
> > -rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE  
> > -rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json  
> > -rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile  
> > drwxr-xr-x 4 root root 4096 Nov 12 14:16 src  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:16 test
> > 
> > plugins/paramedic/\_site:  
> > total 148  
> > drwxr-xr-x 6 root root 4096 Nov 12 14:19 .  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..  
> > drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 css  
> > -rwxr-xr-x 1 root root 99068 Nov 12 14:19  
> > elasticsearch-paramedic-screenshot.png  
> > -rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore  
> > drwxr-xr-x 2 root root 4096 Nov 12 14:19 img  
> > -rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 js  
> > -rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE  
> > -rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile  
> > -rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md  
> > [root@ip-10-80-140-242 ~]#
> > 
> > On Fri, Nov 15, 2013 at 12:41 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > Could you run ls -la ./plugins/
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 15 nov. 2013 à 20:38, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a  
> > > écrit :
> > > 
> > > I downloaded plugin and then used -url file:///path/file.zip -install
> > > 
> > > I am using the latest .90.6
> > > 
> > > On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > 
> > > > Wondering if you have only those dirs in plugins dir.  
> > > > Do you have any hidden directory?
> > > > 
> > > > What is your Elasticsearch version?  
> > > > How did you install the plugins?
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a  
> > > > écrit :
> > > > 
> > > > Is there anything that I can try to fix this issue
> > > > 
> > > > On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > > > 
> > > > > After I move the plugin directories the problem goes away. I don't see  
> > > > > anything in logs even with TRACE enabled.
> > > > > 
> > > > > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > > > 
> > > > > > I don't think it could be caused by site plugins.  
> > > > > > Can you see anything else in logs then this single line?
> > > > > > 
> > > > > > --  
> > > > > > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> > > > > > [http://Elasticsearch.com](http://Elasticsearch.com)_  
> > > > > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> > > > > > 
> > > > > > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (  
> > > > > > [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) //mohitanchlia@gmail.com) a écrit:
> > > > > > 
> > > > > > I just insalled a new plugin and when I start elasticsearch I get:
> > > > > > 
> > > > > > Am I doing something wrong?
> > > > > > 
> > > > > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > > > > 
> > > > > > - NullPointerException[null]
> > > > > > 
> > > > > > s
> > > > > > 
> > > > > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > > > > 
> > > > > > 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).
> > > > > > 
> > > > > > --  
> > > > > > 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).
> > > > 
> > > > --  
> > > > 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).
> > > > 
> > > > --  
> > > > 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).
> > > 
> > > --  
> > > 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).
> > > 
> > > --  
> > > 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).
> > 
> > --  
> > 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).
> > 
> > --  
> > 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).
> 
> --  
> 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).
> 
> --  
> 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).

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 16, 2013, 1:36am UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/13 "2013-11-16T01:36:44Z")

</div>

Ha thanks! That helps a lot.

Cause is: (extracted from File.listFile() javadoc)

An array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname. The array will be empty if the directory is empty. Returns null if this abstract pathname does not denote a directory, or if an I/O error occurs.

Could you ls -l plugins

I think it's your directory is rwx only for root user and may be you are trying to launch elasticsearch from another Linux user or something.

That said, I'm going to fix this NPE and log a better error than this one.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 16 nov. 2013 à 00:09, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

This is the only log entry I got in es:

[2013-11-15 18:08:32,326][INFO][node] [10.80.140.242] version[0.90.6], pid[22125], build[e2a24ef/2013-11-04T13:55:15Z]

[2013-11-15 18:08:32,326][INFO][node] [10.80.140.242] initializing ...

[2013-11-15 18:08:32,326][DEBUG][node] [10.80.140.242] using home [/usr/share/elasticsearch], config [/etc/elasticsearch], data [[/data/es]], logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins [/usr/share/elasticsearch/plugins]

[2013-11-15 18:08:32,331][DEBUG][bootstrap] Exception

java.lang.NullPointerException

at org.elasticsearch.plugins.PluginsService.loadPluginsIntoClassLoader(PluginsService.java:367)

at org.elasticsearch.plugins.PluginsService.(PluginsService.java:92)

at org.elasticsearch.node.internal.InternalNode.(InternalNode.java:135)

at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)

at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:68)

at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:201)

at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

> On Fri, Nov 15, 2013 at 2:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> I meant post that on [gist.github.com](http://gist.github.com)
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 15 nov. 2013 à 22:56, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> 
> By gist you mean upload the logs and commands?
> 
> > On Fri, Nov 15, 2013 at 1:39 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > Could you gist your full log with TRACE level?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 15 nov. 2013 à 22:12, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > 
> > [root@ip-10-80-140-242 ~]# ls -la plugins/  
> > total 16  
> > drwx------ 4 root root 4096 Nov 12 14:19 .  
> > dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:16 head  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic  
> > [root@ip-10-80-140-242 ~]# ls -la plugins/\*  
> > plugins/head:  
> > total 12  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:16 .  
> > drwx------ 4 root root 4096 Nov 12 14:19 ..  
> > drwxr-xr-x 5 root root 4096 Nov 12 14:16 \_site
> > 
> > plugins/paramedic:  
> > total 12  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 .  
> > drwx------ 4 root root 4096 Nov 12 14:19 ..  
> > drwxr-xr-x 6 root root 4096 Nov 12 14:19 \_site  
> > [root@ip-10-80-140-242 ~]# ls -la plugins/_/_  
> > plugins/head/\_site:  
> > total 56  
> > drwxr-xr-x 5 root root 4096 Nov 12 14:16 .  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..  
> > drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist  
> > -rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project  
> > -rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore  
> > -rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js  
> > -rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html  
> > -rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc  
> > -rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE  
> > -rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json  
> > -rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile  
> > drwxr-xr-x 4 root root 4096 Nov 12 14:16 src  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:16 test
> > 
> > plugins/paramedic/\_site:  
> > total 148  
> > drwxr-xr-x 6 root root 4096 Nov 12 14:19 .  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..  
> > drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 css  
> > -rwxr-xr-x 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png  
> > -rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore  
> > drwxr-xr-x 2 root root 4096 Nov 12 14:19 img  
> > -rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html  
> > drwxr-xr-x 3 root root 4096 Nov 12 14:19 js  
> > -rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE  
> > -rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile  
> > -rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md  
> > [root@ip-10-80-140-242 ~]#
> > 
> > > On Fri, Nov 15, 2013 at 12:41 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > Could you run ls -la ./plugins/
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 15 nov. 2013 à 20:38, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > > 
> > > I downloaded plugin and then used -url file:///path/file.zip -install
> > > 
> > > I am using the latest .90.6
> > > 
> > > > On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > > Wondering if you have only those dirs in plugins dir.  
> > > > Do you have any hidden directory?
> > > > 
> > > > What is your Elasticsearch version?  
> > > > How did you install the plugins?
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > > > 
> > > > Is there anything that I can try to fix this issue
> > > > 
> > > > > On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) wrote:  
> > > > > After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.
> > > > > 
> > > > > > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> > > > > > I don't think it could be caused by site plugins.  
> > > > > > Can you see anything else in logs then this single line?
> > > > > > 
> > > > > > --  
> > > > > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > > > > @dadoonet | @elasticsearchfr
> > > > > > 
> > > > > > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)) a écrit:
> > > > > > 
> > > > > > > I just insalled a new plugin and when I start elasticsearch I get:
> > > > > > > 
> > > > > > > Am I doing something wrong?  
> > > > > > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > > > > > 
> > > > > > > - NullPointerException[null]
> > > > > > > 
> > > > > > > s
> > > > > > > 
> > > > > > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > > > > > 
> > > > > > > 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).
> > > > > > 
> > > > > > --  
> > > > > > 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).
> > > > 
> > > > ## -- 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).
> > > > 
> > > > 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).
> > > 
> > > ## -- 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).
> > > 
> > > 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).
> > 
> > ## -- 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).
> > 
> > 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).
> 
> ## -- 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).
> 
> 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).

--  
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).

--  
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:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [November 16, 2013, 3:26am UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/14 "2013-11-16T03:26:00Z")

</div>

That worked! I was using elasticsearch user

On Fri, Nov 15, 2013 at 5:36 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Ha thanks! That helps a lot.
> 
> Cause is: (extracted from File.listFile() javadoc)
> 
> An array of abstract pathnames denoting the files and directories in the  
> directory denoted by this abstract pathname. The array will be empty if the  
> directory is empty. _Returns null if this abstract pathname does not  
> denote a directory, or if an I/O error occurs._
> 
> Could you ls -l plugins
> 
> I think it's your directory is rwx only for root user and may be you are  
> trying to launch elasticsearch from another Linux user or something.
> 
> That said, I'm going to fix this NPE and log a better error than this one.
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 16 nov. 2013 à 00:09, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> 
> This is the only log entry I got in es:
> 
> [2013-11-15 18:08:32,326][INFO][node] [10.80.140.242] version[0.90.6],  
> pid[22125], build[e2a24ef/2013-11-04T13:55:15Z]
> 
> [2013-11-15 18:08:32,326][INFO][node] [10.80.140.242] initializing ...
> 
> [2013-11-15 18:08:32,326][DEBUG][node] [10.80.140.242] using home  
> [/usr/share/elasticsearch], config [/etc/elasticsearch], data [[/data/es]],  
> logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins  
> [/usr/share/elasticsearch/plugins]
> 
> [2013-11-15 18:08:32,331][DEBUG][bootstrap] Exception
> 
> java.lang.NullPointerException
> 
> at  
> org.elasticsearch.plugins.PluginsService.loadPluginsIntoClassLoader(PluginsService.java:367)
> 
> at org.elasticsearch.plugins.PluginsService.(PluginsService.java:92)
> 
> at  
> org.elasticsearch.node.internal.InternalNode.(InternalNode.java:135)
> 
> at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
> 
> at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:68)
> 
> at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:201)
> 
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
> 
> On Fri, Nov 15, 2013 at 2:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > I meant post that on [gist.github.com](http://gist.github.com)
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 15 nov. 2013 à 22:56, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :
> > 
> > By gist you mean upload the logs and commands?
> > 
> > On Fri, Nov 15, 2013 at 1:39 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > Could you gist your full log with TRACE level?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 15 nov. 2013 à 22:12, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a  
> > > écrit :
> > > 
> > > [root@ip-10-80-140-242 ~]# ls -la plugins/  
> > > total 16  
> > > drwx------ 4 root root 4096 Nov 12 14:19 .  
> > > dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..  
> > > drwxr-xr-x 3 root root 4096 Nov 12 14:16 head  
> > > drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic  
> > > [root@ip-10-80-140-242 ~]# ls -la plugins/\*  
> > > plugins/head:  
> > > total 12  
> > > drwxr-xr-x 3 root root 4096 Nov 12 14:16 .  
> > > drwx------ 4 root root 4096 Nov 12 14:19 ..  
> > > drwxr-xr-x 5 root root 4096 Nov 12 14:16 \_site
> > > 
> > > plugins/paramedic:  
> > > total 12  
> > > drwxr-xr-x 3 root root 4096 Nov 12 14:19 .  
> > > drwx------ 4 root root 4096 Nov 12 14:19 ..  
> > > drwxr-xr-x 6 root root 4096 Nov 12 14:19 \_site  
> > > [root@ip-10-80-140-242 ~]# ls -la plugins/_/_  
> > > plugins/head/\_site:  
> > > total 56  
> > > drwxr-xr-x 5 root root 4096 Nov 12 14:16 .  
> > > drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..  
> > > drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist  
> > > -rwxr-xr-x 1 root root 103 Nov 12 14:16  
> > > elasticsearch-head.sublime-project  
> > > -rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore  
> > > -rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js  
> > > -rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html  
> > > -rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc  
> > > -rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE  
> > > -rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json  
> > > -rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile  
> > > drwxr-xr-x 4 root root 4096 Nov 12 14:16 src  
> > > drwxr-xr-x 3 root root 4096 Nov 12 14:16 test
> > > 
> > > plugins/paramedic/\_site:  
> > > total 148  
> > > drwxr-xr-x 6 root root 4096 Nov 12 14:19 .  
> > > drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..  
> > > drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio  
> > > drwxr-xr-x 3 root root 4096 Nov 12 14:19 css  
> > > -rwxr-xr-x 1 root root 99068 Nov 12 14:19  
> > > elasticsearch-paramedic-screenshot.png  
> > > -rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore  
> > > drwxr-xr-x 2 root root 4096 Nov 12 14:19 img  
> > > -rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html  
> > > drwxr-xr-x 3 root root 4096 Nov 12 14:19 js  
> > > -rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE  
> > > -rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile  
> > > -rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md  
> > > [root@ip-10-80-140-242 ~]#
> > > 
> > > On Fri, Nov 15, 2013 at 12:41 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > 
> > > > Could you run ls -la ./plugins/
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 15 nov. 2013 à 20:38, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a  
> > > > écrit :
> > > > 
> > > > I downloaded plugin and then used -url file:///path/file.zip -install
> > > > 
> > > > I am using the latest .90.6
> > > > 
> > > > On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > > 
> > > > > Wondering if you have only those dirs in plugins dir.  
> > > > > Do you have any hidden directory?
> > > > > 
> > > > > What is your Elasticsearch version?  
> > > > > How did you install the plugins?
> > > > > 
> > > > > --  
> > > > > David 😉  
> > > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > > 
> > > > > Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a  
> > > > > écrit :
> > > > > 
> > > > > Is there anything that I can try to fix this issue
> > > > > 
> > > > > On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia \<[mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)
> > > > > 
> > > > > > wrote:
> > > > > 
> > > > > > After I move the plugin directories the problem goes away. I don't  
> > > > > > see anything in logs even with TRACE enabled.
> > > > > > 
> > > > > > On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr)wrote:
> > > > > > 
> > > > > > > I don't think it could be caused by site plugins.  
> > > > > > > Can you see anything else in logs then this single line?
> > > > > > > 
> > > > > > > --  
> > > > > > > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> > > > > > > [http://Elasticsearch.com](http://Elasticsearch.com)_  
> > > > > > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> > > > > > > 
> > > > > > > Le 12 novembre 2013 at 20:25:22, Mohit Anchlia (  
> > > > > > > [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) //mohitanchlia@gmail.com) a écrit:
> > > > > > > 
> > > > > > > I just insalled a new plugin and when I start elasticsearch I get:
> > > > > > > 
> > > > > > > Am I doing something wrong?
> > > > > > > 
> > > > > > > [root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...
> > > > > > > 
> > > > > > > - NullPointerException[null]
> > > > > > > 
> > > > > > > s
> > > > > > > 
> > > > > > > ## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js
> > > > > > > 
> > > > > > > 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).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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).
> > > > > 
> > > > > --  
> > > > > 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).
> > > > > 
> > > > > --  
> > > > > 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).
> > > > 
> > > > --  
> > > > 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).
> > > > 
> > > > --  
> > > > 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).
> > > 
> > > --  
> > > 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).
> > > 
> > > --  
> > > 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).
> > 
> > --  
> > 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).
> > 
> > --  
> > 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).
> 
> --  
> 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).
> 
> --  
> 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).

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 17, 2013, 10:02am UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/15 "2013-11-17T10:02:24Z")

</div>

Related issue opened here: [https://github.com/elasticsearch/elasticsearch/issues/4186](https://github.com/elasticsearch/elasticsearch/issues/4186)

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 16 novembre 2013 at 04:26:05, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)) a écrit:

That worked! I was using elasticsearch user

On Fri, Nov 15, 2013 at 5:36 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
Ha thanks! That helps a lot.

Cause is: (extracted from File.listFile() javadoc)

An array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname. The array will be empty if the directory is empty. Returns null if this abstract pathname does not denote a directory, or if an I/O error occurs.

Could you ls -l plugins

I think it's your directory is rwx only for root user and may be you are trying to launch elasticsearch from another Linux user or something.

That said, I'm going to fix this NPE and log a better error than this one.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 16 nov. 2013 à 00:09, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

This is the only log entry I got in es:

[2013-11-15 18:08:32,326][INFO][node] [10.80.140.242] version[0.90.6], pid[22125], build[e2a24ef/2013-11-04T13:55:15Z]

[2013-11-15 18:08:32,326][INFO][node] [10.80.140.242] initializing ...

[2013-11-15 18:08:32,326][DEBUG][node] [10.80.140.242] using home [/usr/share/elasticsearch], config [/etc/elasticsearch], data [[/data/es]], logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins [/usr/share/elasticsearch/plugins]

[2013-11-15 18:08:32,331][DEBUG][bootstrap] Exception

java.lang.NullPointerException

at org.elasticsearch.plugins.PluginsService.loadPluginsIntoClassLoader(PluginsService.java:367)

at org.elasticsearch.plugins.PluginsService.(PluginsService.java:92)

at org.elasticsearch.node.internal.InternalNode.(InternalNode.java:135)

at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)

at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:68)

at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:201)

at org.elasticsearch.bootstrap.ElasticSearch.main(ElasticSearch.java:32)

On Fri, Nov 15, 2013 at 2:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
I meant post that on [gist.github.com](http://gist.github.com)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 nov. 2013 à 22:56, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

By gist you mean upload the logs and commands?

On Fri, Nov 15, 2013 at 1:39 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
Could you gist your full log with TRACE level?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 nov. 2013 à 22:12, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

[root@ip-10-80-140-242 ~]# ls -la plugins/  
total 16  
drwx------ 4 root root 4096 Nov 12 14:19 .  
dr-xr-x---. 5 root root 4096 Nov 14 13:53 ..  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 head  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 paramedic  
[root@ip-10-80-140-242 ~]# ls -la plugins/\*  
plugins/head:  
total 12  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 .  
drwx------ 4 root root 4096 Nov 12 14:19 ..  
drwxr-xr-x 5 root root 4096 Nov 12 14:16 \_site

plugins/paramedic:  
total 12  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 .  
drwx------ 4 root root 4096 Nov 12 14:19 ..  
drwxr-xr-x 6 root root 4096 Nov 12 14:19 \_site  
[root@ip-10-80-140-242 ~]# ls -la plugins/_/_  
plugins/head/\_site:  
total 56  
drwxr-xr-x 5 root root 4096 Nov 12 14:16 .  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 ..  
drwxr-xr-x 4 root root 4096 Nov 12 14:16 dist  
-rwxr-xr-x 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project  
-rwxr-xr-x 1 root root 62 Nov 12 14:16 .gitignore  
-rwxr-xr-x 1 root root 4440 Nov 12 14:16 Gruntfile.js  
-rwxr-xr-x 1 root root 1025 Nov 12 14:16 index.html  
-rwxr-xr-x 1 root root 435 Nov 12 14:16 .jshintrc  
-rwxr-xr-x 1 root root 559 Nov 12 14:16 LICENCE  
-rwxr-xr-x 1 root root 735 Nov 12 14:16 package.json  
-rwxr-xr-x 1 root root 3843 Nov 12 14:16 README.textile  
drwxr-xr-x 4 root root 4096 Nov 12 14:16 src  
drwxr-xr-x 3 root root 4096 Nov 12 14:16 test

plugins/paramedic/\_site:  
total 148  
drwxr-xr-x 6 root root 4096 Nov 12 14:19 .  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 ..  
drwxr-xr-x 2 root root 4096 Nov 12 14:19 audio  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 css  
-rwxr-xr-x 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png  
-rwxr-xr-x 1 root root 15 Nov 12 14:19 .gitignore  
drwxr-xr-x 2 root root 4096 Nov 12 14:19 img  
-rwxr-xr-x 1 root root 7611 Nov 12 14:19 index.html  
drwxr-xr-x 3 root root 4096 Nov 12 14:19 js  
-rwxr-xr-x 1 root root 1053 Nov 12 14:19 MIT-LICENSE  
-rwxr-xr-x 1 root root 897 Nov 12 14:19 Rakefile  
-rwxr-xr-x 1 root root 4021 Nov 12 14:19 README.md  
[root@ip-10-80-140-242 ~]#

On Fri, Nov 15, 2013 at 12:41 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
Could you run ls -la ./plugins/

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 nov. 2013 à 20:38, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

I downloaded plugin and then used -url file:///path/file.zip -install

I am using the latest .90.6

On Fri, Nov 15, 2013 at 10:57 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
Wondering if you have only those dirs in plugins dir.  
Do you have any hidden directory?

What is your Elasticsearch version?  
How did you install the plugins?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 nov. 2013 à 19:06, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) a écrit :

Is there anything that I can try to fix this issue

On Tue, Nov 12, 2013 at 2:27 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) wrote:  
After I move the plugin directories the problem goes away. I don't see anything in logs even with TRACE enabled.

On Tue, Nov 12, 2013 at 1:26 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
I don't think it could be caused by site plugins.  
Can you see anything else in logs then this single line?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 12 novembre 2013 at 20:25:22, Mohit Anchlia ([mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)) a écrit:

I just insalled a new plugin and when I start elasticsearch I get:

Am I doing something wrong?  
[root@ip-10-80-140-242 ~]# !p{0.90.6}: Initialization Failed ...

- NullPointerException[null]

s

## [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/head/\_site total 40 -rw------- 1 root root 559 Nov 12 14:16 LICENCE -rw------- 1 root root 4440 Nov 12 14:16 Gruntfile.js -rw------- 1 root root 3843 Nov 12 14:16 README.textile drwx------ 4 root root 4096 Nov 12 14:16 dist -rw------- 1 root root 735 Nov 12 14:16 package.json -rw------- 1 root root 1025 Nov 12 14:16 index.html -rw------- 1 root root 103 Nov 12 14:16 elasticsearch-head.sublime-project drwx------ 4 root root 4096 Nov 12 14:16 src drwx------ 3 root root 4096 Nov 12 14:16 test [root@ip-10-80-140-242 ~]# ls -ltr /usr/share/elasticsearch/plugins/paramedic/\_site total 136 -rw------- 1 root root 4021 Nov 12 14:19 README.md -rw------- 1 root root 1053 Nov 12 14:19 MIT-LICENSE -rw------- 1 root root 897 Nov 12 14:19 Rakefile drwx------ 2 root root 4096 Nov 12 14:19 audio drwx------ 3 root root 4096 Nov 12 14:19 css -rw------- 1 root root 99068 Nov 12 14:19 elasticsearch-paramedic-screenshot.png -rw------- 1 root root 7611 Nov 12 14:19 index.html drwx------ 2 root root 4096 Nov 12 14:19 img drwx------ 3 root root 4096 Nov 12 14:19 js

## 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).

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).

## -- 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).

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).

## -- 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).

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).

## -- 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).

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).

## -- 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).

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).

## -- 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).

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).

--  
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).

--  
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:06am UTC](https://discuss.elastic.co/t/nullpointer-with-plugins/14365/16 "2017-07-06T02:06:34Z")

</div>


