Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by saucam
, 1 year ago
Geo distance sorting needs at least one point.
java.lang.IllegalArgumentException: Geo distance sorting needs at least one point.	at org.elasticsearch.search.sort.GeoDistanceSortBuilder.(GeoDistanceSortBuilder.java:130)	at org.elasticsearch.search.sort.SortBuilders.geoDistanceSort(SortBuilders.java:88)	at com.sksamuel.elastic4s.searches.sort.GeoDistanceSortDefinition.(GeoDistanceSortDefinition.scala:13)	at com.sksamuel.elastic4s.searches.sort.SortDsl$GeoSortExpectsPoints.points(SortDsl.scala:27)