Re: [PR] Adjust assertion check to not throw an NPE [lucene]

2024-06-11 Thread via GitHub
benwtrent merged PR #13479: URL: https://github.com/apache/lucene/pull/13479 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.a

[PR] Adjust assertion check to not throw an NPE [lucene]

2024-06-11 Thread via GitHub
benwtrent opened a new pull request, #13479: URL: https://github.com/apache/lucene/pull/13479 It is possible when checking this assertion, that we could throw an NPE as `metaData.getSort()` can be `null`. Let's actually allow the assertions do their checks instead of throwing a scary