Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16971

RealTimeGet with Composite router throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0
    • 9.4
    • None
    • None

    Description

      RealTimeGet with Composite router throws NPE at slice resolution time making it unusable.
      I would like to add a check and possibly return nothing instead of the NPE.

      [c:content s:shard1 r:core_node3 x:content_shard1_replica_n1] 
      o.a.s.h.RequestHandlerBase java.lang.NullPointerException: 
      Cannot invoke "org.apache.solr.common.cloud.Slice.getName()" because "slice" is null => 
      java.lang.NullPointerException: Cannot invoke "org.apache.solr.common.cloud.Slice.getName()" because "slice" is null
      

      one workaround is to pass "route" param.

      Attachments

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m