Hi,
I have been running ES on Mac OS X for a couple weeks now. One of our
developers recently tried to bring our embedded ES up under WIndows, and he
receives the following stack trace. I am attempting to do a map.put() call
on an index that is using a default mapping.
DEBUG main ElasticSearchListenerContainer: 75 - Initializing
the ElasticSearchListenerContainer
DEBUG main ElasticSearchListenerContainer: 82 -
DEBUG main ElasticSearchListenerContainer: 83 -
DEBUG main ElasticSearchListenerContainer: 84 -
ElasticSearchListenerContainer <@b90a6e> is initialized.
DEBUG main ElasticSearchListenerContainer: 86 - Delegate:
com.tracermedia.hazelcast.ElasticSearchListener@b4b0a4
DEBUG main ElasticSearchListenerContainer: 87 -
WARN main ElasticSearchListener: 214 - Failed to
index [bucket][key38]
org.elasticsearch.transport.SendRequestTransportException:
[indices/createIndex]
at
org.elasticsearch.transport.RemoteTransportException.fillStack(RemoteTransportException.java:58)
at
org.elasticsearch.transport.SendRequestTransportException.fillInStackTrace(SendRequestTransportException.java:34)
at java.lang.Throwable.(Throwable.java:218)
at java.lang.Exception.(Exception.java:59)
at java.lang.RuntimeException.(RuntimeException.java:61)
at
org.elasticsearch.ElasticSearchException.(ElasticSearchException.java:46)
at
org.elasticsearch.transport.TransportException.(TransportException.java:34)
at
org.elasticsearch.transport.RemoteTransportException.(RemoteTransportException.java:39)
at
org.elasticsearch.transport.SendRequestTransportException.(SendRequestTransportException.java:30)
at
org.elasticsearch.transport.TransportService$2.run(TransportService.java:197)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at
org.elasticsearch.transport.netty.NettyTransport.nodeChannel(NettyTransport.java:487)
at
org.elasticsearch.transport.netty.NettyTransport.sendRequest(NettyTransport.java:383)
at
org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:183)
at
org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:171)
at
org.elasticsearch.action.support.master.TransportMasterNodeOperationAction.doExecute(TransportMasterNodeOperationAction.java:76)
at
org.elasticsearch.action.support.master.TransportMasterNodeOperationAction.doExecute(TransportMasterNodeOperationAction.java:37)
at
org.elasticsearch.action.support.BaseAction.execute(BaseAction.java:54)
at
org.elasticsearch.action.index.TransportIndexAction.doExecute(TransportIndexAction.java:85)
at
org.elasticsearch.action.index.TransportIndexAction.doExecute(TransportIndexAction.java:56)
at
org.elasticsearch.action.support.BaseAction.execute(BaseAction.java:54)
at
org.elasticsearch.action.support.BaseAction.execute(BaseAction.java:43)
at
org.elasticsearch.client.node.NodeClient.index(NodeClient.java:111)
at
com.tracermedia.hazelcast.ElasticSearchListener.store(ElasticSearchListener.java:212)
at
com.tracermedia.hazelcast.ElasticSearchListener.storeAll(ElasticSearchListener.java:228)
at
com.tracermedia.hazelcast.ElasticSearchListenerContainer.storeAll(ElasticSearchListenerContainer.java:189)
at com.tracermedia.BridgeTest.testOnMapStore(BridgeTest.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:643)
at
org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:761)
at
org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:769)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:552)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:723)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1027)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
at
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
at org.testng.TestRunner.runWorkers(TestRunner.java:1030)
at org.testng.TestRunner.privateRun(TestRunner.java:709)
at org.testng.TestRunner.run(TestRunner.java:579)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:331)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:326)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:288)
at org.testng.SuiteRunner.run(SuiteRunner.java:193)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:910)
at org.testng.TestNG.runSuitesLocally(TestNG.java:879)
at org.testng.TestNG.run(TestNG.java:787)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)
at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)