Weird bugs when using elasticsearch2.3.3 .jar to start transportclient to connect to 2.3.3 es cluster

the es cluster version is 2.3.3, both client and client version has java version of 1.7_update80
when i using elasticsearch 2.3.3 jar to start a Transport client . code like this:

client =TransportClient.builder().addPlugin(ShieldPlugin.class).settings(settings()).build();
Assert.hasText(clusterNodes,
"[Assertion failed] clusterNodes settings missing.");
for (String clusterNode : split(clusterNodes, COMMA)) {
String hostName = substringBeforeLast(clusterNode, COLON);
String port = substringAfterLast(clusterNode, COLON);
Assert.hasText(hostName,
"[Assertion failed] missing host name in 'clusterNodes'");
Assert.hasText(port,
"[Assertion failed] missing port in 'clusterNodes'");
// logger.info("adding transport node : " + clusterNode);
client.addTransportAddress(new InetSocketTransportAddress(
InetAddress.getByName(hostName), Integer.valueOf(port)));
}

but always encounter with the following error , which prevent tomcat to start normally!
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'client': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 77 more
Caused by: java.lang.NullPointerException
at java.util.logging.Logger.doSetParent(Logger.java:1615)
at java.util.logging.Logger.getAnonymousLogger(Logger.java:537)
at java.util.logging.Logger.getAnonymousLogger(Logger.java:498)
at org.elasticsearch.common.inject.InjectorShell$LoggerFactory.get(InjectorShell.java:240)
at org.elasticsearch.common.inject.InjectorShell$LoggerFactory.get(InjectorShell.java:236)
at org.elasticsearch.common.inject.InjectorImpl$5$1.call(InjectorImpl.java:828)
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:880)
at org.elasticsearch.common.inject.InjectorImpl$5.get(InjectorImpl.java:823)
at org.elasticsearch.common.inject.InheritingState.makeAllBindingsToEagerSingletons(InheritingState.java:157)
at org.elasticsearch.common.inject.InjectorImpl.readOnlyAllSingletons(InjectorImpl.java:909)
at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:50)
at org.elasticsearch.client.transport.TransportClient$Builder.build(TransportClient.java:161)
at org.springframework.data.elasticsearch.client.TransportClientFactoryBean.buildClient(TransportClientFactoryBean.java:70)
at org.springframework.data.elasticsearch.client.TransportClientFactoryBean.afterPropertiesSet(TransportClientFactoryBean.java:66)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
... 84 more

what does this mean ?

Caused by: java.lang.NullPointerException
at java.util.logging.Logger.doSetParent(Logger.java:1615)
at java.util.logging.Logger.getAnonymousLogger(Logger.java:537)

This is a JDK bug http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8017174

Use latest Java 8 JDK.