Java API error

I am getting the following exception however I don't see anything in
elasticsearch logs:

Problem executing insert:
org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:
Failed execution
at
org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88)
at
org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:49)
at
com.intuit.dp.services.nosqlclient.command.ESIndexCommand.index(ESIndexCommand.java:123)
at
com.intuit.dp.services.nosqlclient.command.ESIndexCommand.doWork(ESIndexCommand.java:80)
at
com.intuit.dp.services.nosqlclient.command.ESIndexCommand.call(ESIndexCommand.java:43)
at
com.intuit.dp.services.nosqlclient.command.ESIndexCommand.call(ESIndexCommand.java:16)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at
org.elasticsearch.common.io.stream.HandlesStreamOutput.writeString(HandlesStreamOutput.java:54)
at
org.elasticsearch.action.support.replication.ShardReplicationOperationRequest.writeTo(ShardReplicationOperationRequest.java:174)
at
org.elasticsearch.action.index.IndexRequest.writeTo(IndexRequest.java:643)
at
org.elasticsearch.transport.netty.NettyTransport.sendRequest(NettyTransport.java:543)
at
org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:189)
at
org.elasticsearch.action.TransportActionNodeProxy.execute(TransportActionNodeProxy.java:63)
at
org.elasticsearch.client.transport.support.InternalTransportClient$2.doWithNode(InternalTransportClient.java:109)
at
org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:214)
at
org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)
at
org.elasticsearch.client.support.AbstractClient.index(AbstractClient.java:84)
at
org.elasticsearch.client.transport.TransportClient.index(TransportClient.java:315)
at
org.elasticsearch.action.index.IndexRequestBuilder.doExecute(IndexRequestBuilder.java:323)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59)

[2013-11-11 17:28:05,543][TRACE][transport.netty ] [Cyclops]
channel closed: [id: 0x0a7bf81a, /10.80.140.5:49733 => /10.80.140.105:9300]
[2013-11-11 17:28:05,544][TRACE][transport.netty ] [Cyclops]
channel closed: [id: 0x57354d02, /10.80.140.5:49734 => /10.80.140.105:9300]
[2013-11-11 17:28:10,606][TRACE][cluster ] [Cyclops]
Submitting new rescheduling cluster info update job
[2013-11-11 17:28:10,606][TRACE][cluster ] [Cyclops]
Performing ClusterInfoUpdateJob
[2013-11-11 17:28:10,606][TRACE][cluster ] [Cyclops]
Scheduling next run for updating cluster info in: 30s
[2013-11-11 17:28:10,606][TRACE][cluster ] [Cyclops]
Skipping ClusterInfoUpdatedJob since it is disabled
[2013-11-11 17:28:40,607][TRACE][cluster ] [Cyclops]
Submitting new rescheduling cluster info update job
[2013-11-11 17:28:40,607][TRACE][cluster ] [Cyclops]
Performing ClusterInfoUpdateJob
[2013-11-11 17:28:40,607][TRACE][cluster ] [Cyclops]
Scheduling next run for updating cluster info in: 30s
[2013-11-11 17:28:40,607][TRACE][cluster ] [Cyclops]
Skipping ClusterInfoUpdatedJob since it is disabled
[2013-11-11 17:29:10,607][TRACE][cluster ] [Cyclops]
Submitting new rescheduling cluster info update job
[2013-11-11 17:29:10,608][TRACE][cluster ] [Cyclops]
Performing ClusterInfoUpdateJob
[2013-11-11 17:29:10,608][TRACE][cluster ] [Cyclops]
Scheduling next run for updating cluster info in: 30s
[2013-11-11 17:29:10,608][TRACE][cluster ] [Cyclops]
Skipping ClusterInfoUpdatedJob since it is disabled

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Never mind found the issue. I had a null indexname

On Mon, Nov 11, 2013 at 2:31 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

I am getting the following exception however I don't see anything in
elasticsearch logs:

Problem executing insert:
org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:
Failed execution
at
org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88)
at
org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:49)
at
com.intuit.dp.services.nosqlclient.command.ESIndexCommand.index(ESIndexCommand.java:123)
at
com.intuit.dp.services.nosqlclient.command.ESIndexCommand.doWork(ESIndexCommand.java:80)
at
com.intuit.dp.services.nosqlclient.command.ESIndexCommand.call(ESIndexCommand.java:43)
at
com.intuit.dp.services.nosqlclient.command.ESIndexCommand.call(ESIndexCommand.java:16)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at
org.elasticsearch.common.io.stream.HandlesStreamOutput.writeString(HandlesStreamOutput.java:54)
at
org.elasticsearch.action.support.replication.ShardReplicationOperationRequest.writeTo(ShardReplicationOperationRequest.java:174)
at
org.elasticsearch.action.index.IndexRequest.writeTo(IndexRequest.java:643)
at
org.elasticsearch.transport.netty.NettyTransport.sendRequest(NettyTransport.java:543)
at
org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:189)
at
org.elasticsearch.action.TransportActionNodeProxy.execute(TransportActionNodeProxy.java:63)
at
org.elasticsearch.client.transport.support.InternalTransportClient$2.doWithNode(InternalTransportClient.java:109)
at
org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:214)
at
org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)
at
org.elasticsearch.client.support.AbstractClient.index(AbstractClient.java:84)
at
org.elasticsearch.client.transport.TransportClient.index(TransportClient.java:315)
at
org.elasticsearch.action.index.IndexRequestBuilder.doExecute(IndexRequestBuilder.java:323)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85)
at
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59)

[2013-11-11 17:28:05,543][TRACE][transport.netty ] [Cyclops]
channel closed: [id: 0x0a7bf81a, /10.80.140.5:49733 => /10.80.140.105:9300
]
[2013-11-11 17:28:05,544][TRACE][transport.netty ] [Cyclops]
channel closed: [id: 0x57354d02, /10.80.140.5:49734 => /10.80.140.105:9300
]
[2013-11-11 17:28:10,606][TRACE][cluster ] [Cyclops]
Submitting new rescheduling cluster info update job
[2013-11-11 17:28:10,606][TRACE][cluster ] [Cyclops]
Performing ClusterInfoUpdateJob
[2013-11-11 17:28:10,606][TRACE][cluster ] [Cyclops]
Scheduling next run for updating cluster info in: 30s
[2013-11-11 17:28:10,606][TRACE][cluster ] [Cyclops]
Skipping ClusterInfoUpdatedJob since it is disabled
[2013-11-11 17:28:40,607][TRACE][cluster ] [Cyclops]
Submitting new rescheduling cluster info update job
[2013-11-11 17:28:40,607][TRACE][cluster ] [Cyclops]
Performing ClusterInfoUpdateJob
[2013-11-11 17:28:40,607][TRACE][cluster ] [Cyclops]
Scheduling next run for updating cluster info in: 30s
[2013-11-11 17:28:40,607][TRACE][cluster ] [Cyclops]
Skipping ClusterInfoUpdatedJob since it is disabled
[2013-11-11 17:29:10,607][TRACE][cluster ] [Cyclops]
Submitting new rescheduling cluster info update job
[2013-11-11 17:29:10,608][TRACE][cluster ] [Cyclops]
Performing ClusterInfoUpdateJob
[2013-11-11 17:29:10,608][TRACE][cluster ] [Cyclops]
Scheduling next run for updating cluster info in: 30s
[2013-11-11 17:29:10,608][TRACE][cluster ] [Cyclops]
Skipping ClusterInfoUpdatedJob since it is disabled

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.