Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregations: Geo bounds aggregation throwing ArrayIndexOutOfBoundsException on array resize #7556

Closed
owainb opened this Issue Sep 3, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@owainb
Copy link

commented Sep 3, 2014

There is a bug in the collect method of org.elasticsearch.search.aggregations.metrics.geobounds.GeoBoundsAggregator. When it resizes all the arrays at the top of the method it resizes posLefts twice instead of resizing posRights. This causes and ArrayIndexOutOfBoundsException.

@owainb

This comment has been minimized.

Copy link
Author

commented Sep 3, 2014

Should have mentioned that this is discussed in https://groups.google.com/forum/#!topic/elasticsearch/iUMK5GJ3JsQ

@colings86 colings86 added bug labels Sep 3, 2014

@colings86 colings86 self-assigned this Sep 3, 2014

colings86 added a commit to colings86/elasticsearch that referenced this issue Sep 3, 2014

colings86 added a commit that referenced this issue Sep 3, 2014

@colings86

This comment has been minimized.

Copy link
Member

commented Sep 3, 2014

@owainb thanks for reporting the bug

@colings86 colings86 changed the title Nested geo bounds aggregation throwing ArrayIndexOutOfBoundsException Aggregations: Geo bounds aggregation throwing ArrayIndexOutOfBoundsException on array resize Sep 3, 2014

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.