Error while running under Windows

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)

Which version are you using? If I remember correctly, you use the node
client, make sure that the client can discovery the other cluster members. A
simple test can be to start on the machine from an installation of
elasticsearch two nodes and see if they discovery each other.

-shay.banon

On Wed, Jul 21, 2010 at 12:02 AM, James Cook jcook@tracermedia.com wrote:

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)

This is 0.8.0 still, and yes I am using the node client to connect. The ES
server and the various nodes I spin up to make queries against the server
are all in the same VM. I start the nodes using:

Node localNode = nodeBuilder().client(true).settings(
settingsBuilder().put("http.enabled", false)).build().start();

There are no config files on the classpath.

Here are the logs from the same source code, but two different OS.

Mac OS X Windows [Reynolds, Katherine] {Elasticsearch/0.8.0}[7953]:
Initializing ... [Anderssen, Tanya] {Elasticsearch/0.8.0}[3384]:
Initializing ... [Reynolds, Katherine] Loaded [Anderssen, Tanya] Loaded
[Reynolds, Katherine] {Elasticsearch/0.8.0}[7953]: Initialized [Anderssen,
Tanya] {Elasticsearch/0.8.0}[3384]: Initialized [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Starting ... [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Starting ... [Reynolds, Katherine]
bound_address[inet[/127.0.0.1:9001]],
publish_address[inet[/127.0.0.1:9001]] [Anderssen,
Tanya] bound_address[inet[/127.0.0.1:9001]], publish_address[inet[/
127.0.0.1:9001]] [Reynolds, Katherine] New Master [Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Reason: zen-disco-initial_connect(master) [Anderssen, Tanya] New Master
[Anderssen,
Tanya][8b572f0e-9d53-45bd-93e9-848b71b1dd7f][inet[/127.0.0.1:9001]], Reason:
zen-disco-initial_connect(master) [Reynolds, Katherine]
elasticsearch/75cea407-eae7-46b9-8ef2-40d07df4d984 [Anderssen, Tanya]
elasticsearch/8b572f0e-9d53-45bd-93e9-848b71b1dd7f [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Started [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Started [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Initializing ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Initializing ... [Phantom Eagle] Loaded [Xemu]
Loaded [Phantom Eagle] {Elasticsearch/0.8.0}[7953]: Initialized [Xemu]
{Elasticsearch/0.8.0}[3384]: Initialized [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Starting ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Starting ... [Phantom Eagle]
bound_address[inet[/0.0.0.0:9300]], publish_address[inet[/169.254.20.222
:9300]] [Xemu] bound_address[inet[/0.0.0.0:9300]], publish_address[inet[/
10.0.2.15:9300]] [Reynolds, Katherine] Added {[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false},}, Reason: zen-disco-receive(from
node[[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false}]) [Xemu] Waited for 30s and no initial state
was set by the discovery [Phantom Eagle] Detected Master [Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Added {[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],},
Reason: zen-disco-receive(from [[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]]])
[Phantom Eagle] elasticsearch/39ebfa84-2973-4fbe-a113-d7262a2ea03e [Xemu]
elasticsearch/f914403b-29f8-4d5c-b9dc-6d2f7293ab5f [Phantom Eagle]
bound_address[inet[/0.0.0.0:9200]], publish_address[inet[/169.254.20.222
:9200]] [Xemu] bound_address[inet[/0.0.0.0:9200]], publish_address[inet[/
10.0.2.15:9200]] [Phantom Eagle] {Elasticsearch/0.8.0}[7953]: Started [Xemu]
{Elasticsearch/0.8.0}[3384]: Started

-- jim

On Tue, Jul 20, 2010 at 5:13 PM, Shay Banon shay.banon@elasticsearch.comwrote:

Which version are you using? If I remember correctly, you use the node
client, make sure that the client can discovery the other cluster members. A
simple test can be to start on the machine from an installation of
elasticsearch two nodes and see if they discovery each other.

-shay.banon

On Wed, Jul 21, 2010 at 12:02 AM, James Cook jcook@tracermedia.comwrote:

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)

Can you give 0.9 a try and see if it fixes it? There have been numerous
improvements in that area, and I would love not to chase a problem that I
already fixed ;).

Also, can you give the start two nodes from the command line a try (from an
elasticsearch installation) and see if they discover each other (on
windows).

-shay.banon

On Wed, Jul 21, 2010 at 4:25 AM, James Cook jcook@tracermedia.com wrote:

This is 0.8.0 still, and yes I am using the node client to connect. The ES
server and the various nodes I spin up to make queries against the server
are all in the same VM. I start the nodes using:

Node localNode = nodeBuilder().client(true).settings(
settingsBuilder().put("http.enabled", false)).build().start();

There are no config files on the classpath.

Here are the logs from the same source code, but two different OS.

Mac OS X Windows [Reynolds, Katherine] {Elasticsearch/0.8.0}[7953]:
Initializing ... [Anderssen, Tanya] {Elasticsearch/0.8.0}[3384]:
Initializing ... [Reynolds, Katherine] Loaded [Anderssen, Tanya]
Loaded [Reynolds, Katherine] {Elasticsearch/0.8.0}[7953]: Initialized [Anderssen,
Tanya] {Elasticsearch/0.8.0}[3384]: Initialized [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Starting ... [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Starting ... [Reynolds, Katherine]
bound_address[inet[/127.0.0.1:9001]], publish_address[inet[/127.0.0.1:9001
]] [Anderssen, Tanya] bound_address[inet[/127.0.0.1:9001]],
publish_address[inet[/127.0.0.1:9001]] [Reynolds, Katherine] New Master
[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Reason: zen-disco-initial_connect(master) [Anderssen, Tanya] New Master
[Anderssen,
Tanya][8b572f0e-9d53-45bd-93e9-848b71b1dd7f][inet[/127.0.0.1:9001]],
Reason: zen-disco-initial_connect(master) [Reynolds, Katherine]
elasticsearch/75cea407-eae7-46b9-8ef2-40d07df4d984 [Anderssen, Tanya]
elasticsearch/8b572f0e-9d53-45bd-93e9-848b71b1dd7f [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Started [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Started [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Initializing ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Initializing ... [Phantom Eagle] Loaded [Xemu]
Loaded [Phantom Eagle] {Elasticsearch/0.8.0}[7953]: Initialized [Xemu]
{Elasticsearch/0.8.0}[3384]: Initialized [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Starting ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Starting ... [Phantom Eagle]
bound_address[inet[/0.0.0.0:9300]], publish_address[inet[/169.254.20.222
:9300]] [Xemu] bound_address[inet[/0.0.0.0:9300]], publish_address[inet[/
10.0.2.15:9300]] [Reynolds, Katherine] Added {[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false},}, Reason: zen-disco-receive(from
node[[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false}]) [Xemu] Waited for 30s and no initial state
was set by the discovery [Phantom Eagle] Detected Master [Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Added {[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],},
Reason: zen-disco-receive(from [[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]]])
[Phantom Eagle] elasticsearch/39ebfa84-2973-4fbe-a113-d7262a2ea03e [Xemu]
elasticsearch/f914403b-29f8-4d5c-b9dc-6d2f7293ab5f [Phantom Eagle]
bound_address[inet[/0.0.0.0:9200]], publish_address[inet[/169.254.20.222
:9200]] [Xemu] bound_address[inet[/0.0.0.0:9200]], publish_address[inet[/
10.0.2.15:9200]] [Phantom Eagle] {Elasticsearch/0.8.0}[7953]: Started [Xemu]
{Elasticsearch/0.8.0}[3384]: Started

-- jim

On Tue, Jul 20, 2010 at 5:13 PM, Shay Banon shay.banon@elasticsearch.comwrote:

Which version are you using? If I remember correctly, you use the node
client, make sure that the client can discovery the other cluster members. A
simple test can be to start on the machine from an installation of
elasticsearch two nodes and see if they discovery each other.

-shay.banon

On Wed, Jul 21, 2010 at 12:02 AM, James Cook jcook@tracermedia.comwrote:

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)

The two 0.8.0 nodes started from CLI discover each other with no trouble.
Can you provide me the nodeBuilder() semantics that the shell is using?

(I am currently updating code to work with 0.9.0 master, but there are some
code changes necessary.

-- jim

On Wed, Jul 21, 2010 at 3:15 AM, Shay Banon shay.banon@elasticsearch.comwrote:

Can you give 0.9 a try and see if it fixes it? There have been numerous
improvements in that area, and I would love not to chase a problem that I
already fixed ;).

Also, can you give the start two nodes from the command line a try (from an
elasticsearch installation) and see if they discover each other (on
windows).

-shay.banon

On Wed, Jul 21, 2010 at 4:25 AM, James Cook jcook@tracermedia.com wrote:

This is 0.8.0 still, and yes I am using the node client to connect. The ES
server and the various nodes I spin up to make queries against the server
are all in the same VM. I start the nodes using:

Node localNode = nodeBuilder().client(true).settings(
settingsBuilder().put("http.enabled", false)).build().start();

There are no config files on the classpath.

Here are the logs from the same source code, but two different OS.

Mac OS X Windows [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Initializing ... [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Initializing ... [Reynolds, Katherine]
Loaded [Anderssen, Tanya] Loaded [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Initialized [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Initialized [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Starting ... [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Starting ... [Reynolds, Katherine]
bound_address[inet[/127.0.0.1:9001]], publish_address[inet[/
127.0.0.1:9001]] [Anderssen, Tanya] bound_address[inet[/127.0.0.1:9001]],
publish_address[inet[/127.0.0.1:9001]] [Reynolds, Katherine] New Master
[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Reason: zen-disco-initial_connect(master) [Anderssen, Tanya] New Master
[Anderssen,
Tanya][8b572f0e-9d53-45bd-93e9-848b71b1dd7f][inet[/127.0.0.1:9001]],
Reason: zen-disco-initial_connect(master) [Reynolds, Katherine]
elasticsearch/75cea407-eae7-46b9-8ef2-40d07df4d984 [Anderssen, Tanya]
elasticsearch/8b572f0e-9d53-45bd-93e9-848b71b1dd7f [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Started [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Started [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Initializing ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Initializing ... [Phantom Eagle] Loaded [Xemu]
Loaded [Phantom Eagle] {Elasticsearch/0.8.0}[7953]: Initialized [Xemu]
{Elasticsearch/0.8.0}[3384]: Initialized [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Starting ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Starting ... [Phantom Eagle]
bound_address[inet[/0.0.0.0:9300]], publish_address[inet[/169.254.20.222
:9300]] [Xemu] bound_address[inet[/0.0.0.0:9300]], publish_address[inet[/
10.0.2.15:9300]] [Reynolds, Katherine] Added {[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false},}, Reason: zen-disco-receive(from
node[[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false}]) [Xemu] Waited for 30s and no initial
state was set by the discovery [Phantom Eagle] Detected Master
[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Added {[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],},
Reason: zen-disco-receive(from [[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]]])
[Phantom Eagle] elasticsearch/39ebfa84-2973-4fbe-a113-d7262a2ea03e [Xemu]
elasticsearch/f914403b-29f8-4d5c-b9dc-6d2f7293ab5f [Phantom Eagle]
bound_address[inet[/0.0.0.0:9200]], publish_address[inet[/169.254.20.222
:9200]] [Xemu] bound_address[inet[/0.0.0.0:9200]], publish_address[inet[/
10.0.2.15:9200]] [Phantom Eagle] {Elasticsearch/0.8.0}[7953]: Started [Xemu]
{Elasticsearch/0.8.0}[3384]: Started

-- jim

On Tue, Jul 20, 2010 at 5:13 PM, Shay Banon <shay.banon@elasticsearch.com

wrote:

Which version are you using? If I remember correctly, you use the node
client, make sure that the client can discovery the other cluster members. A
simple test can be to start on the machine from an installation of
elasticsearch two nodes and see if they discovery each other.

-shay.banon

On Wed, Jul 21, 2010 at 12:02 AM, James Cook jcook@tracermedia.comwrote:

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)

OK, I got past my initial trouble.

On Windows, I had to start the ES server using the node.publish_host=local
property.

If I do not specify this setting, ES binds its publish address to:
169.254.20.222
When I specify the setting, ES binds to my local IP and new nodes can
discover it as master.

-- jim

On Wed, Jul 21, 2010 at 10:50 AM, James Cook jcook@tracermedia.com wrote:

The two 0.8.0 nodes started from CLI discover each other with no trouble.
Can you provide me the nodeBuilder() semantics that the shell is using?

(I am currently updating code to work with 0.9.0 master, but there are some
code changes necessary.

-- jim

On Wed, Jul 21, 2010 at 3:15 AM, Shay Banon shay.banon@elasticsearch.comwrote:

Can you give 0.9 a try and see if it fixes it? There have been numerous
improvements in that area, and I would love not to chase a problem that I
already fixed ;).

Also, can you give the start two nodes from the command line a try (from
an elasticsearch installation) and see if they discover each other (on
windows).

-shay.banon

On Wed, Jul 21, 2010 at 4:25 AM, James Cook jcook@tracermedia.comwrote:

This is 0.8.0 still, and yes I am using the node client to connect. The
ES server and the various nodes I spin up to make queries against the server
are all in the same VM. I start the nodes using:

Node localNode = nodeBuilder().client(true).settings(
settingsBuilder().put("http.enabled", false)).build().start();

There are no config files on the classpath.

Here are the logs from the same source code, but two different OS.

Mac OS X Windows [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Initializing ... [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Initializing ... [Reynolds, Katherine]
Loaded [Anderssen, Tanya] Loaded [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Initialized [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Initialized [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Starting ... [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Starting ... [Reynolds, Katherine]
bound_address[inet[/127.0.0.1:9001]], publish_address[inet[/
127.0.0.1:9001]] [Anderssen, Tanya] bound_address[inet[/127.0.0.1:9001]],
publish_address[inet[/127.0.0.1:9001]] [Reynolds, Katherine] New Master
[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Reason: zen-disco-initial_connect(master) [Anderssen, Tanya] New Master
[Anderssen,
Tanya][8b572f0e-9d53-45bd-93e9-848b71b1dd7f][inet[/127.0.0.1:9001]],
Reason: zen-disco-initial_connect(master) [Reynolds, Katherine]
elasticsearch/75cea407-eae7-46b9-8ef2-40d07df4d984 [Anderssen, Tanya]
elasticsearch/8b572f0e-9d53-45bd-93e9-848b71b1dd7f [Reynolds,
Katherine] {Elasticsearch/0.8.0}[7953]: Started [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Started [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Initializing ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Initializing ... [Phantom Eagle] Loaded [Xemu]
Loaded [Phantom Eagle] {Elasticsearch/0.8.0}[7953]: Initialized [Xemu]
{Elasticsearch/0.8.0}[3384]: Initialized [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Starting ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Starting ... [Phantom Eagle]
bound_address[inet[/0.0.0.0:9300]], publish_address[inet[/169.254.20.222
:9300]] [Xemu] bound_address[inet[/0.0.0.0:9300]],
publish_address[inet[/10.0.2.15:9300]] [Reynolds, Katherine] Added
{[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false},}, Reason: zen-disco-receive(from
node[[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false}]) [Xemu] Waited for 30s and no initial
state was set by the discovery [Phantom Eagle] Detected Master
[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Added {[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],},
Reason: zen-disco-receive(from [[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001
]]])
[Phantom Eagle] elasticsearch/39ebfa84-2973-4fbe-a113-d7262a2ea03e [Xemu]
elasticsearch/f914403b-29f8-4d5c-b9dc-6d2f7293ab5f [Phantom Eagle]
bound_address[inet[/0.0.0.0:9200]], publish_address[inet[/169.254.20.222
:9200]] [Xemu] bound_address[inet[/0.0.0.0:9200]],
publish_address[inet[/10.0.2.15:9200]] [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Started [Xemu] {Elasticsearch/0.8.0}[3384]:
Started

-- jim

On Tue, Jul 20, 2010 at 5:13 PM, Shay Banon <
shay.banon@elasticsearch.com> wrote:

Which version are you using? If I remember correctly, you use the node
client, make sure that the client can discovery the other cluster members. A
simple test can be to start on the machine from an installation of
elasticsearch two nodes and see if they discovery each other.

-shay.banon

On Wed, Jul 21, 2010 at 12:02 AM, James Cook jcook@tracermedia.comwrote:

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)

This is to do with the address used to publish multicast discovery. The
default one used is the first non loopback one.

-shay.banon

On Wed, Jul 21, 2010 at 6:28 PM, James Cook jcook@tracermedia.com wrote:

OK, I got past my initial trouble.

On Windows, I had to start the ES server using the
node.publish_host=local property.

If I do not specify this setting, ES binds its publish address to:
169.254.20.222
When I specify the setting, ES binds to my local IP and new nodes can
discover it as master.

-- jim

On Wed, Jul 21, 2010 at 10:50 AM, James Cook jcook@tracermedia.comwrote:

The two 0.8.0 nodes started from CLI discover each other with no trouble.
Can you provide me the nodeBuilder() semantics that the shell is using?

(I am currently updating code to work with 0.9.0 master, but there are
some code changes necessary.

-- jim

On Wed, Jul 21, 2010 at 3:15 AM, Shay Banon <shay.banon@elasticsearch.com

wrote:

Can you give 0.9 a try and see if it fixes it? There have been numerous
improvements in that area, and I would love not to chase a problem that I
already fixed ;).

Also, can you give the start two nodes from the command line a try (from
an elasticsearch installation) and see if they discover each other (on
windows).

-shay.banon

On Wed, Jul 21, 2010 at 4:25 AM, James Cook jcook@tracermedia.comwrote:

This is 0.8.0 still, and yes I am using the node client to connect. The
ES server and the various nodes I spin up to make queries against the server
are all in the same VM. I start the nodes using:

Node localNode = nodeBuilder().client(true).settings(
settingsBuilder().put("http.enabled", false)).build().start();

There are no config files on the classpath.

Here are the logs from the same source code, but two different OS.

Mac OS X Windows [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Initializing ... [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Initializing ... [Reynolds, Katherine]
Loaded [Anderssen, Tanya] Loaded [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Initialized [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Initialized [Reynolds, Katherine]
{Elasticsearch/0.8.0}[7953]: Starting ... [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Starting ... [Reynolds, Katherine]
bound_address[inet[/127.0.0.1:9001]], publish_address[inet[/
127.0.0.1:9001]] [Anderssen, Tanya] bound_address[inet[/127.0.0.1:9001]],
publish_address[inet[/127.0.0.1:9001]] [Reynolds, Katherine] New
Master [Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Reason: zen-disco-initial_connect(master) [Anderssen, Tanya] New Master
[Anderssen,
Tanya][8b572f0e-9d53-45bd-93e9-848b71b1dd7f][inet[/127.0.0.1:9001]],
Reason: zen-disco-initial_connect(master) [Reynolds, Katherine]
elasticsearch/75cea407-eae7-46b9-8ef2-40d07df4d984 [Anderssen, Tanya]
elasticsearch/8b572f0e-9d53-45bd-93e9-848b71b1dd7f [Reynolds,
Katherine] {Elasticsearch/0.8.0}[7953]: Started [Anderssen, Tanya]
{Elasticsearch/0.8.0}[3384]: Started [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Initializing ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Initializing ... [Phantom Eagle] Loaded
[Xemu] Loaded [Phantom Eagle] {Elasticsearch/0.8.0}[7953]:
Initialized [Xemu] {Elasticsearch/0.8.0}[3384]: Initialized [Phantom
Eagle] {Elasticsearch/0.8.0}[7953]: Starting ... [Xemu]
{Elasticsearch/0.8.0}[3384]: Starting ... [Phantom Eagle]
bound_address[inet[/0.0.0.0:9300]], publish_address[inet[/
169.254.20.222:9300]] [Xemu] bound_address[inet[/0.0.0.0:9300]],
publish_address[inet[/10.0.2.15:9300]] [Reynolds, Katherine] Added
{[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false},}, Reason: zen-disco-receive(from
node[[Phantom
Eagle][39ebfa84-2973-4fbe-a113-d7262a2ea03e][inet[/169.254.20.222:9300]]{client=true,
data=false, zen.master=false}]) [Xemu] Waited for 30s and no initial
state was set by the discovery [Phantom Eagle] Detected Master
[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],
Added {[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001]],},
Reason: zen-disco-receive(from [[Reynolds,
Katherine][75cea407-eae7-46b9-8ef2-40d07df4d984][inet[/127.0.0.1:9001
]]])
[Phantom Eagle] elasticsearch/39ebfa84-2973-4fbe-a113-d7262a2ea03e [Xemu]
elasticsearch/f914403b-29f8-4d5c-b9dc-6d2f7293ab5f [Phantom Eagle]
bound_address[inet[/0.0.0.0:9200]], publish_address[inet[/
169.254.20.222:9200]] [Xemu] bound_address[inet[/0.0.0.0:9200]],
publish_address[inet[/10.0.2.15:9200]] [Phantom Eagle]
{Elasticsearch/0.8.0}[7953]: Started [Xemu]
{Elasticsearch/0.8.0}[3384]: Started

-- jim

On Tue, Jul 20, 2010 at 5:13 PM, Shay Banon <
shay.banon@elasticsearch.com> wrote:

Which version are you using? If I remember correctly, you use the node
client, make sure that the client can discovery the other cluster members. A
simple test can be to start on the machine from an installation of
elasticsearch two nodes and see if they discovery each other.

-shay.banon

On Wed, Jul 21, 2010 at 12:02 AM, James Cook jcook@tracermedia.comwrote:

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)