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

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

Github user pvillard31 commented on the issue:

    https://github.com/apache/nifi/pull/1698
  
    +1 change looks OK, full build is OK, will merge


> 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