java.lang.IllegalArgumentException

Geo distance sorting needs at least one point.


Solutions on the web3802

Solution icon of github
Geo distance sorting needs at least one point.

Solution icon of github
via GitHub by julianhyde
, 6 months ago
Must have at least one AggregatorFactory

Solution icon of apache
via xmlgraphics-fop-users by Pardha Paruchuri, 1 year ago
Specify at least one font family

Solution icon of github
must provide at least one column

Solution icon of spring
via Spring JIRA by Matthew T. Adams, 1 year ago
at least one goal must be specified

Solution icon of spring
via Spring JIRA by Matthew T. Adams, 1 year ago
at least one goal must be specified

Solution icon of web
via javamonamour.org by Unknown author, 1 year ago
Array has at least one null element

Solution icon of jenkins
via Jenkins JIRA by Konrad Lorentz, 1 year ago
at least one label must be given!

Solution icon of github
via GitHub by vijayrcse
, 9 months ago
At least one ancestor is needed

Solution icon of sonatype
via Sonatype JIRA by Peter Lynch, 1 year ago
There must be at least one validator

Stack trace

  • java.lang.IllegalArgumentException: Geo distance sorting needs at least one point. at org.elasticsearch.search.sort.GeoDistanceSortBuilder.<init>(GeoDistanceSortBuilder.java:130) at org.elasticsearch.search.sort.SortBuilders.geoDistanceSort(SortBuilders.java:88) at com.sksamuel.elastic4s.searches.sort.GeoDistanceSortDefinition.<init>(GeoDistanceSortDefinition.scala:13) at com.sksamuel.elastic4s.searches.sort.SortDsl$GeoSortExpectsPoints.points(SortDsl.scala:27)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.