[ https://issues.apache.org/jira/browse/NIFI-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391172#comment-15391172 ]
ASF subversion and git services commented on NIFI-2376: ------------------------------------------------------- Commit 4e08ea65254edd80d487ffc17b5046c37184467c in nifi's branch refs/heads/master from [~markap14] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=4e08ea6 ] NIFI-2376 This closes #713. Ensure that we don't decrement claimant count more than once when append() throws an Exception > 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: Joseph Witt > Priority: Blocker > Labels: releasenotes > 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)