[
https://issues.apache.org/jira/browse/OAK-7983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16741614#comment-16741614
]
Vikas Saurabh commented on OAK-7983:
------------------------------------
Also, btw, the issue, while logging NPE, doesn't plan in a potential
old-behavior-null index node as the planner throws NPE which gets caught+logged
and things continue.
That would probably justify why no tests failed as we don't really see logs
that often in tests.
> LazyLuceneIndexNode#getIndexNode can cause NPE
> ----------------------------------------------
>
> Key: OAK-7983
> URL: https://issues.apache.org/jira/browse/OAK-7983
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: lucene
> Affects Versions: 1.9.13
> Reporter: Tommaso Teofili
> Priority: Major
> Attachments: OAK-7983.0.patch
>
>
> Changes for OAK-7947 have introduced a LazyLuceneIndexNode. Its methods call
> for IndexTracker#findIndexNode and #acquireIndexNode which can return `null`,
> however no proper checks are performed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)