[
https://issues.apache.org/jira/browse/NIFI-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985539#comment-15985539
]
ASF GitHub Bot commented on NIFI-3744:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/nifi/pull/1698
> 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
> Fix For: 1.2.0
>
>
> 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)