NullPointerException when build a transportclient with version 2.3.2

Hi, My team used elasticsearch for the previous two projects, which are all running well in the server. I am currently working on another one using it, which also works well my local server. But when I deployed it on my beta environment, a problem occurred which did not happen in my local tomcat. All the jdk version in server is 1.7.0_80. Could anyone tells me what might be the reason causing the this problem, and whether there is a solution to it? Looking forward to your reply, many thanks!

Caused by: java.lang.NullPointerException
at java.util.logging.Logger.doSetParent(
at java.util.logging.Logger.getAnonymousLogger(
at java.util.logging.Logger.getAnonymousLogger(
at org.elasticsearch.common.inject.InjectorShell$LoggerFactory.get(
at org.elasticsearch.common.inject.InjectorShell$LoggerFactory.get(
at org.elasticsearch.common.inject.InjectorImpl$5$
at org.elasticsearch.common.inject.InjectorImpl.callInContext(
at org.elasticsearch.common.inject.InjectorImpl$5.get(
at org.elasticsearch.common.inject.InheritingState.makeAllBindingsToEagerSingletons(
at org.elasticsearch.common.inject.InjectorImpl.readOnlyAllSingletons(
at org.elasticsearch.common.inject.ModulesBuilder.createInjector(
at org.elasticsearch.client.transport.TransportClient$


is it possible that you are missing log4j or slf4j as a dependency in your tomcat project?


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