java.lang.IllegalArgumentException: Geo distance sorting needs at least one point.

GitHub | saucam | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    geoSort should create GeoDistanceSortDefinition with empty geohashes

    GitHub | 3 months ago | saucam
    java.lang.IllegalArgumentException: Geo distance sorting needs at least one point.
  2. 0

    GitHub comment 634#259500219

    GitHub | 4 months ago | sksamuel
    java.lang.NoClassDefFoundError: org/elasticsearch/transport/client/PreBuiltTransportClient
  3. 0

    GitHub comment 634#259499583

    GitHub | 4 months ago | carnalim
    java.lang.NoClassDefFoundError: org/elasticsearch/transport/client/PreBuiltTransportClient
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Geo distance sorting needs at least one point.

      at org.elasticsearch.search.sort.GeoDistanceSortBuilder.<init>()
    2. ElasticSearch
      SortBuilders.geoDistanceSort
      1. org.elasticsearch.search.sort.GeoDistanceSortBuilder.<init>(GeoDistanceSortBuilder.java:130)
      2. org.elasticsearch.search.sort.SortBuilders.geoDistanceSort(SortBuilders.java:88)
      2 frames
    3. com.sksamuel.elastic4s
      SortDsl$GeoSortExpectsPoints.points
      1. com.sksamuel.elastic4s.searches.sort.GeoDistanceSortDefinition.<init>(GeoDistanceSortDefinition.scala:13)
      2. com.sksamuel.elastic4s.searches.sort.SortDsl$GeoSortExpectsPoints.points(SortDsl.scala:27)
      2 frames