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

EnwikiContentSource thread safety problem (NPE) in 'forever' mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • modules/benchmark
    • None

    Description

      If close() is invoked around when an additional input stream reader is recreated for the 'forever' behavior, an uncaught NPE might occur.
      This bug was probably always there, just exposed now with the EnwikioContentSourceTest added in LUCENE-4588.

      Attachments

        1. LUCENE-4595.patch
          3 kB
          Doron Cohen

        Activity

          People

            doronc Doron Cohen
            doronc Doron Cohen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: