Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3744

Possible null pointer in PutHiveStreaming.cleanup() if PutHiveStreaming.setup() fails

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • None

    Description

      callTimeoutPool is one of the last things instantiated in PutHiveStreaming.setup(). The cleanup code doesn't check for null before attempting to shutdown the callTimeoutPool, resulting an a NPE if callTimeoutPool is not initialized.

      A NPE is also possible while iterating over allWriters.

      Attachments

        Activity

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

          People

            bryanrosander@gmail.com Bryan Rosander
            bryanrosander@gmail.com Bryan Rosander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment