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

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

    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

        Issue Links

          Activity

            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: