# When i add extended.plugins=lang-mustache in plugin-descriptor.properties im getting below error

**URL:** <https://discuss.elastic.co/t/when-i-add-extended-plugins-lang-mustache-in-plugin-descriptor-properties-im-getting-below-error/256439>\
**Category:** Elasticsearch\
**Created:** [November 24, 2020, 4:42am UTC](https://discuss.elastic.co/t/when-i-add-extended-plugins-lang-mustache-in-plugin-descriptor-properties-im-getting-below-error/256439 "2020-11-24T04:42:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakeshdkaatkar](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@rakeshdkaatkar](https://discuss.elastic.co/u/rakeshdkaatkar)\
**Post date:** [November 24, 2020, 4:42am UTC](https://discuss.elastic.co/t/when-i-add-extended-plugins-lang-mustache-in-plugin-descriptor-properties-im-getting-below-error/256439/1 "2020-11-24T04:42:30Z")

</div>

java.lang.IllegalStateException: Plugin [search-engine-plugin] cannot extend non-extensible plugin [lang-mustache]  
at org.elasticsearch.plugins.PluginsService.loadBundle(PluginsService.java:624)  
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:473)  
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:165)  
at org.elasticsearch.node.Node.(Node.java:328)  
at org.elasticsearch.node.Node.(Node.java:277)  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:227)  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:227)  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393)  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170)  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)  
at org.elasticsearch.cli.Command.main(Command.java:90)  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)`Preformatted text`

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [November 26, 2020, 1:16am UTC](https://discuss.elastic.co/t/when-i-add-extended-plugins-lang-mustache-in-plugin-descriptor-properties-im-getting-below-error/256439/2 "2020-11-26T01:16:38Z")

</div>

Why do you want to extend the `lang-mustache` plugin?  
As the error says, it's not an extensible plugin.

---

<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:** [December 24, 2020, 1:16am UTC](https://discuss.elastic.co/t/when-i-add-extended-plugins-lang-mustache-in-plugin-descriptor-properties-im-getting-below-error/256439/3 "2020-12-24T01:16:38Z")

</div>

Closed on December 24, 2020, 1:16am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
