# Error-org.elasticsearch.common.inject.CreationException: Guice creation errors:

**URL:** <https://discuss.elastic.co/t/error-org-elasticsearch-common-inject-creationexception-guice-creation-errors/60580>\
**Category:** Elasticsearch\
**Created:** [September 15, 2016, 7:53am UTC](https://discuss.elastic.co/t/error-org-elasticsearch-common-inject-creationexception-guice-creation-errors/60580 "2016-09-15T07:53:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajan\_Gabriel\_Anbu](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Rajan\_Gabriel\_Anbu](https://discuss.elastic.co/u/Rajan_Gabriel_Anbu)\
**Post date:** [September 15, 2016, 7:53am UTC](https://discuss.elastic.co/t/error-org-elasticsearch-common-inject-creationexception-guice-creation-errors/60580/1 "2016-09-15T07:53:48Z")

</div>

Im getting this exception under Guice Creation errors

1. Error injecting constructor, java.lang.NullPointerException  
at org.elasticsearch.common.network.NetworkService.(Unknown Source)  
while locating org.elasticsearch.common.network.NetworkService  
for parameter 2 at org.elasticsearch.transport.netty.NettyTransport.(Unknown Source)  
while locating org.elasticsearch.transport.netty.NettyTransport  
while locating org.elasticsearch.transport.Transport  
for parameter 1 at org.elasticsearch.transport.TransportService.(Unknown Source)  
while locating org.elasticsearch.transport.TransportService  
for parameter 3 at org.elasticsearch.discovery.zen.ZenDiscovery.(Unknown Source)  
while locating org.elasticsearch.discovery.zen.ZenDiscovery  
while locating org.elasticsearch.discovery.Discovery  
for parameter 3 at org.elasticsearch.node.service.NodeService.(Unknown Source)  
while locating org.elasticsearch.node.service.NodeService  
Caused by: java.lang.NullPointerException  
at org.elasticsearch.common.network.IfConfig.doLogging(IfConfig.java:73)  
at org.elasticsearch.common.network.IfConfig.logIfNecessary(IfConfig.java:46)  
at org.elasticsearch.common.network.NetworkService.(NetworkService.java:86)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)  
at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)  
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)  
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)  
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)  
at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)  
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)  
at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)  
at org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:54)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)  
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)  
at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)  
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)  
at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)  
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)  
at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)  
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)  
at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)

and so the stack trace extends upto few more lines but here im restricted to a character limit of 5000  
could anyone provide a solution please ?

---

<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:** [September 15, 2016, 8:15am UTC](https://discuss.elastic.co/t/error-org-elasticsearch-common-inject-creationexception-guice-creation-errors/60580/2 "2016-09-15T08:15:38Z")

</div>

Version?  
Plugins?  
How did you install it?

---

<div class="post-metadata">

**Author:** ![Rajan\_Gabriel\_Anbu](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Rajan\_Gabriel\_Anbu](https://discuss.elastic.co/u/Rajan_Gabriel_Anbu)\
**Post date:** [September 15, 2016, 10:04am UTC](https://discuss.elastic.co/t/error-org-elasticsearch-common-inject-creationexception-guice-creation-errors/60580/3 "2016-09-15T10:04:47Z")

</div>

version: 2.2.0  
plugins: no  
install: from release build.  
exception occurred at starting of node.

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [September 15, 2016, 1:18pm UTC](https://discuss.elastic.co/t/error-org-elasticsearch-common-inject-creationexception-guice-creation-errors/60580/4 "2016-09-15T13:18:18Z")

</div>

Looks like a bug. [This](https://github.com/elastic/elasticsearch/blob/2.2/core/src/main/java/org/elasticsearch/common/network/IfConfig.java#L73) is the line, so [listing](https://docs.oracle.com/javase/8/docs/api/java/net/NetworkInterface.html#getInterfaceAddresses--) network addresses is returning a null entry. This hasn't come up before because that is a fairly weird thing for that method to do.

Is there any chance that you on a machine with a network that is "weird" in some way?

---

<div class="post-metadata">

**Author:** ![Rajan\_Gabriel\_Anbu](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Rajan\_Gabriel\_Anbu](https://discuss.elastic.co/u/Rajan_Gabriel_Anbu)\
**Post date:** [September 21, 2016, 9:12am UTC](https://discuss.elastic.co/t/error-org-elasticsearch-common-inject-creationexception-guice-creation-errors/60580/5 "2016-09-21T09:12:33Z")

</div>

Im really sorry for the delayed response Nik Everett ,No the network seems to be functioning normally

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [September 21, 2016, 12:28pm UTC](https://discuss.elastic.co/t/error-org-elasticsearch-common-inject-creationexception-guice-creation-errors/60580/6 "2016-09-21T12:28:22Z")

</div>

It'd be useful to know why you are seeing this and no one else is. Maybe  
you are using a unique JVM? What kind of network does the box have?

---

<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 5, 2017, 10:18pm UTC](https://discuss.elastic.co/t/error-org-elasticsearch-common-inject-creationexception-guice-creation-errors/60580/7 "2017-07-05T22:18:33Z")

</div>


