After upgrading to 7.3.0 search queries return null_pointer_exception

Search queries (which worked before upgrading) now return

{
   "took":16,
   "timed_out":false,
   "_shards":{
      "total":5,
      "successful":4,
      "skipped":0,
      "failed":1,
      "failures":[
         {
            "shard":4,
            "index":"REDACTED",
            "node":"REDACTED",
            "reason":{
               "type":"null_pointer_exception",
               "reason":null
            }
         }
      ]
   },
   "hits":{
      "total":{
         "value":0,
         "relation":"eq"
      },
      "max_score":null,
      "hits":[

      ]
   }
}

Sometimes it works but mostly they are failing.

can you provide the full stack by enabled stack traces and also provide the full search operation if possible?

Is this reproducible with a new index/data as well?

This is always reproducible, also with a new index/data

  at org.apache.lucene.search.TopScoreDocCollector$SimpleTopScoreDocCollector$1.collect(TopScoreDocCollector.java:68)
  at org.elasticsearch.search.internal.ContextIndexSearcher.intersectScorerAndBitSet(ContextIndexSearcher.java:245)
  at org.elasticsearch.search.internal.ContextIndexSearcher.searchInternal(ContextIndexSearcher.java:209)
  at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:179)
  at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:443)
  at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:270)
  at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:113)
  at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:335)
  at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:360)
  at org.elasticsearch.search.SearchService.lambda$executeQueryPhase$1(SearchService.java:340)
  at org.elasticsearch.action.ActionListener.lambda$map$2(ActionListener.java:145)
  at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:62)
  at org.elasticsearch.search.SearchService$2.doRun(SearchService.java:1052)
  at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
  at org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:44)
  at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:758)
  at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)

please provide the full stack and all the commands you typed in to trigger this behaviour so it can be reproduced locally.

Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.