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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment