elasticsearch/elasticsearch-lang-groovy — Issue #4: java.lang.ArrayIndexOutOfBoundsException when using geo filtering in a count
Author: MIJohnson
Created: 2012-02-28 13:24:06+00:00
State: open

Im getting the below exception with the following code:

https://gist.github.com/e91554c15b99789d1b37

please let me know what further info's you require if this isnt enough to work from

2012-02-27 15:59:07,724 [New I/O client worker #1-5] WARN transport.netty - [Micromax] Exception caught on netty layer [[id: 0x01816407, /192.168.1.105:52551 => /192.168.1.105:9300]]
java.lang.ArrayIndexOutOfBoundsException: 175
at org.elasticsearch.common.Unicode.UTF8toUTF16(Unicode.java:190)
at org.elasticsearch.common.Unicode.unsafeFromBytesAsUtf16(Unicode.java:106)
at org.elasticsearch.common.Unicode.fromBytes(Unicode.java:80)
at org.elasticsearch.common.Unicode.fromBytes(Unicode.java:73)
at org.elasticsearch.action.count.CountRequest.toString(CountRequest.java:334)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuilder.append(Unknown Source)
at org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.onOperation(TransportBroadcastOperationAction.java:306)
at org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$3.handleException(TransportBroadcastOperationAction.java:263)
at org.elasticsearch.transport.netty.MessageChannelHandler.handleException(MessageChannelHandler.java:288)
at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:279)
at org.elasticsearch.transport.netty.MessageChannelHandler.process(MessageChannelHandler.java:231)
at org.elasticsearch.transport.netty.MessageChannelHandler.callDecode(MessageChannelHandler.java:141)
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:93)
at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:553)
at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:343)
at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:274)
at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:194)
at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)