Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7983

LazyLuceneIndexNode#getIndexNode can cause NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.9.13
    • Fix Version/s: None
    • Component/s: lucene
    • Labels:
      None

      Description

      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.

        Attachments

        1. OAK-7983.0.patch
          15 kB
          Tommaso Teofili

          Issue Links

            Activity

              People

              • Assignee:
                thomasm Thomas Mueller
                Reporter:
                teofili Tommaso Teofili
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: