[
https://issues.apache.org/jira/browse/NIFI-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15411005#comment-15411005
]
ASF GitHub Bot commented on NIFI-2509:
--------------------------------------
GitHub user olegz opened a pull request:
https://github.com/apache/nifi/pull/805
NIFI-2509 fixed NPE condition in KafkaConsumer
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/olegz/nifi NIFI-2509
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/805.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 #805
----
commit 5e946bfefb92c3804dc5118d3bb2668d4141cfbf
Author: Oleg Zhurakousky <[email protected]>
Date: 2016-08-07T17:36:34Z
NIFI-2509 fixed NPE condition in KafkaConsumer
----
> KafkaConsumer results in NPE if check.connection property is not provided
> -------------------------------------------------------------------------
>
> Key: NIFI-2509
> URL: https://issues.apache.org/jira/browse/NIFI-2509
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.0.0-Beta
> Reporter: Arpit Gupta
> Assignee: Oleg Zhurakousky
> Fix For: 1.0.0, 0.8.0
>
>
> If the user does not provide check connection property consume kafka returns
> a NPE
> {code}
> java.lang.NullPointerException: null
> at
> org.apache.nifi.processors.kafka.pubsub.ConsumeKafka.buildKafkaResource(ConsumeKafka.java:241)
>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)