tmvlad opened a new pull request, #2784: URL: https://github.com/apache/jackrabbit-oak/pull/2784
## Summary A property index definition with `type=property` but missing the required `propertyNames` property caused a `NullPointerException` in `PropertyIndexEditor` that was not caught by `IndexUpdate`, breaking the entire async indexing cycle for all indexes. - Add a null check in `PropertyIndexEditor` constructor and throw an `IllegalStateException` with a clear message when `propertyNames` is absent - `IndexUpdate.collectIndexEditors()` already catches `IllegalStateException` to gracefully skip bad index definitions and log an error, so async indexing continues unaffected - Add regression test `missingPropertyNamesDoesNotBreakIndexing` in `PropertyIndexTest` ## Test plan - [ ] `mvn test -pl oak-core -Dtest=PropertyIndexTest#missingPropertyNamesDoesNotBreakIndexing` - [ ] `mvn test -pl oak-core -Dtest=PropertyIndexTest` 🤖 Generated with [Claude Code](https://claude.ai/claude-code) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
