Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4567

WFSTCompletionLookup.lookup() NPE when empty fst

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1, 6.0
    • None
    • None
    • New

    Description

      the fst Builder.finish() returns null when nothing is accepted, this then results in NPE in lookup(), see patch for extra nullchecks

      Attachments

        1. LUCENE-4567.patch
          6 kB
          selckin

        Activity

          People

            mikemccand Michael McCandless
            selckin selckin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: