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 · Fixed by #7565
Closed

Comments

@owainb
Copy link

owainb 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
Copy link
Author

owainb commented Sep 3, 2014

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

@colings86
Copy link
Contributor

@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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants