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

ASF subversion and git services commented on NIFI-3744:
-------------------------------------------------------

Commit 97461657b1fe3193e028d2a085734415563a26d8 in nifi's branch 
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=9746165 ]

NIFI-3744 - PutHiveStreaming cleanup null fixes

This closes #1698.

Signed-off-by: Pierre Villard <[email protected]>


> Possible null pointer in PutHiveStreaming.cleanup() if 
> PutHiveStreaming.setup() fails
> -------------------------------------------------------------------------------------
>
>                 Key: NIFI-3744
>                 URL: https://issues.apache.org/jira/browse/NIFI-3744
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Bryan Rosander
>            Assignee: Bryan Rosander
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to