Deploy on glassfish-4.1.1 soft with usage elasticsearch-2.4.0

During deploy we can receive error
on transport client's injector
‘java.lang.StackOverflowError’ exception. Cannot evaluate org.elasticsearch.common.inject.InjectorImpl.toString()

my settings:
Settings settings = Settings.settingsBuilder()
.put("cluster.name",cluster) .put("client.transport.sniff", false).build();
TransportClient transportClient = TransportClient.builder().settings(settings).build();
transportClient.addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName(host), port));

Thanks in advance for any help)