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

Content could be prematurely archived/removed if a call to append() throws an Exception

    XMLWordPrintableJSON

Details

    Description

      If ProcessSession.append() is called multiple times for a FlowFile and in one of the calls other than the first call, an Exception is thrown, the claimant count is decremented more than once. This can result in the content being deleted or archived too soon. Consequently, this could also result in a NullPointerException being thrown when attempting to write to the FlowFile.

      Attachments

        Issue Links

          Activity

            People

              joewitt Joe Witt
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: