[ 
https://issues.apache.org/jira/browse/NIFI-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417468#comment-15417468
 ] 

ASF GitHub Bot commented on NIFI-2551:
--------------------------------------

GitHub user mosermw opened a pull request:

    https://github.com/apache/nifi/pull/838

    NIFI-2551 fix FileSystemRepository claim count race condition, which …

    …could cause NPE

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mosermw/nifi NIFI-2551

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/838.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #838
    
----
commit fb1e26e7a09710e2f73eec6a98595252d13b8193
Author: Mike Moser <[email protected]>
Date:   2016-08-11T15:45:06Z

    NIFI-2551 fix FileSystemRepository claim count race condition, which could 
cause NPE

----


> Rare condition causes FileSystemRepository NPE
> ----------------------------------------------
>
>                 Key: NIFI-2551
>                 URL: https://issues.apache.org/jira/browse/NIFI-2551
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.0.0, 0.7.0
>            Reporter: Michael Moser
>            Assignee: Michael Moser
>            Priority: Blocker
>
> In rare unpredictable cases when NiFi is processing a heavy load, we see 
> FileSystemRepository throw a NullPointerException
> {noformat}
> java.lang.NullPointerException
>     at o.a.n.c.r.FileSystemRepository$2.write(FileSystemRepository.java:919) 
> [nifi-framework-core-0.7.0.jar]
>     at 
> o.a.n.c.r.io.DisableOnCloseOutputStream.write(DisableOnCloseOutputStream.java:49)
>     ....
>     Suppressed: java.lang.NullPointerException
>         at 
> o.a.n.c.r.FileSystemRepository$2.flush(FileSystemRepository.java:935) 
> [nifi-framework-core-0.7.0.jar]
>         at 
> o.a.n.c.r.io.DisableOnCloseOutputStream.close(DisableOnCloseOutputStream.java:68)
> {noformat}



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

Reply via email to