Re: [I] NPE in SortingCodecReader.getVectorReader()...checkIntegrity() [lucene]

2025-01-09 Thread via GitHub
msokolov closed issue #14123: NPE in SortingCodecReader.getVectorReader()...checkIntegrity() URL: https://github.com/apache/lucene/issues/14123 -- 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 sp

Re: [I] NPE in SortingCodecReader.getVectorReader()...checkIntegrity() [lucene]

2025-01-09 Thread via GitHub
msokolov commented on issue #14123: URL: https://github.com/apache/lucene/issues/14123#issuecomment-2580233310 Indeed, I was able to produce a NPE there by sometimes skipping indexing points in `TestSortingCodecReader.testSortOnAddIndicesRandom()`. I don't really know what the nullability i

Re: [I] NPE in SortingCodecReader.getVectorReader()...checkIntegrity() [lucene]

2025-01-09 Thread via GitHub
msokolov commented on issue #14123: URL: https://github.com/apache/lucene/issues/14123#issuecomment-2580160918 It looks like we had a similar problem (with Points) in 2023 and [fixed it](https://github.com/apache/lucene/commit/00de0aef6348ab816e9594781aedbb92d266573e) but that fix looks to

Re: [I] NPE in SortingCodecReader.getVectorReader()...checkIntegrity() [lucene]

2025-01-09 Thread via GitHub
msokolov commented on issue #14123: URL: https://github.com/apache/lucene/issues/14123#issuecomment-2580125220 Ah I think what may have happened is [we made the test beefier](https://github.com/apache/lucene/commit/02a09f6ab124e994fd1af42965617c8b5ec67bcc#diff-84ead5529902b303026300aa8c90874

[I] NPE in SortingCodecReader.getVectorReader()...checkIntegrity() [lucene]

2025-01-09 Thread via GitHub
msokolov opened a new issue, #14123: URL: https://github.com/apache/lucene/issues/14123 ### Description I'm confused about this one -- it seems straightforward; the test creates an index with a segment that has no vectors, so its vectorsReader is null, but we assume it is not null wh