You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2016/07/23 19:25:20 UTC

[jira] [Created] (NIFI-2376) Content could be prematurely archived/removed if a call to append() throws an Exception

Mark Payne created NIFI-2376:
--------------------------------

             Summary: Content could be prematurely archived/removed if a call to append() throws an Exception
                 Key: NIFI-2376
                 URL: https://issues.apache.org/jira/browse/NIFI-2376
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne
            Priority: Blocker
             Fix For: 1.0.0, 0.8.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)