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

Possible NPE in LuceneIndex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.4
    • 0.5
    • core
    • None

    Description

      in LuceneIndex#getQuery(Filter) the first variable is initialized to null and updated to a meaningful value only if pr.first is not null, thus it may result in NPE when calling first.equals(last) (line 168).

      Attachments

        1. OAK-286.patch
          1 kB
          Tommaso Teofili

        Activity

          People

            Unassigned Unassigned
            teofili Tommaso Teofili
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: