Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.4, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      I've spotted this before, and just now one of my unit tests does it as well. I believe this happens when there is no data for the requested field.

      java.lang.NullPointerException
              at java.nio.ByteBuffer.wrap(ByteBuffer.java:396)
              at org.apache.solr.search.facet.PercentileAgg$Merger.merge(PercentileAgg.java:195)
              at org.apache.solr.search.facet.FacetBucket.mergeBucket(FacetBucket.java:90)
              at org.apache.solr.search.facet.FacetRequestSortedMerger.mergeBucketList(FacetRequestSortedMerger.java:61)
              at org.apache.solr.search.facet.FacetRangeMerger.mergeBucketList(FacetRangeMerger.java:27)
              at org.apache.solr.search.facet.FacetRangeMerger.merge(FacetRangeMerger.java:91)
              at org.apache.solr.search.facet.FacetRangeMerger.merge(FacetRangeMerger.java:43)
              at org.apache.solr.search.facet.FacetBucket.mergeBucket(FacetBucket.java:90)
              at org.apache.solr.search.facet.FacetQueryMerger.merge(FacetModule.java:444)
              at org.apache.solr.search.facet.FacetModule.handleResponses(FacetModule.java:272)
      

        Attachments

        1. SOLR-9917.patch
          4 kB
          Yonik Seeley
        2. SOLR-9917.patch
          9 kB
          Yonik Seeley

          Activity

            People

            • Assignee:
              yseeley@gmail.com Yonik Seeley
              Reporter:
              markus17 Markus Jelsma
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: