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

java.lang.NullPointerException ExactSharedStatsCache.getPerShardTermStats

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.6
    • 6.7, 7.0
    • search
    • None

    Description

      INFO [qtp411311908-32] (SolrCore.java:2304) - [collection1_shard3_replica2] webapp=/solr path=/select params=

      Unknown macro: {..&distrib=false&_stateVer_=collection1}

      status=0 QTime=18
      INFO [qtp2123780104-30] (SolrCore.java:2304) - [collection1_shard1_replica1] ...
      INFO [qtp411311908-45] (SolrCore.java:2304) - [collection1_shard2_replica1] ...

      ERROR [qtp411311908-33] (SolrException.java:148) - java.lang.NullPointerException
      at org.apache.solr.search.stats.ExactSharedStatsCache.getPerShardTermStats(ExactSharedStatsCache.java:76)
      at org.apache.solr.search.stats.ExactStatsCache.sendGlobalStats(ExactStatsCache.java:233)
      at org.apache.solr.handler.component.QueryComponent.createMainQuery(QueryComponent.java:930)
      at org.apache.solr.handler.component.QueryComponent.regularDistributedProcess(QueryComponent.java:726)
      at org.apache.solr.handler.component.QueryComponent.distributedProcess(QueryComponent.java:679)
      at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:345)

      INFO [qtp411311908-33] (SolrCore.java:2304) - [collection1_shard3_replica2] webapp=/solr path=/select params=

      Unknown macro: {...&wt=javabin&version=2}

      status=500 QTime=82

      Switching to LRUStatsCache seems help.

      Attachments

        1. SOLR-10824.patch
          0.9 kB
          Mikhail Khludnev
        2. SOLR-10824.patch
          2 kB
          Mikhail Khludnev
        3. SOLR-10824.patch
          7 kB
          Mikhail Khludnev

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mkhl Mikhail Khludnev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment