[ https://issues.apache.org/jira/browse/NIFI-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316595#comment-17316595 ]
ASF subversion and git services commented on NIFI-8394: ------------------------------------------------------- Commit 77a73a603b9cb27bda31118c44b13dda2489526c in nifi's branch refs/heads/main from Mohammed Nadeem [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=77a73a6 ] NIFI-8394 Fix NPE error when NiFi connects to external zookeeper insecurely This closes #4974 Signed-off-by: Joey Frazee <jfra...@apache.org> > Fix NPE error when NiFi connects to external zookeeper insecurely > ----------------------------------------------------------------- > > Key: NIFI-8394 > URL: https://issues.apache.org/jira/browse/NIFI-8394 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Affects Versions: 1.13.0, 1.13.1, 1.13.2 > Reporter: Nadeem > Assignee: Nadeem > Priority: Major > Labels: zookeeper > Time Spent: 40m > Remaining Estimate: 0h > > When NiFi connects to external zookeeper insecurely, then following error is > logged due to null watcher passed in zookeeper constructor. This error is > introduced due to changes made for adding zookeeper client with TLS NIFI-7819 > {noformat} > ERROR [Framework Task Thread Thread-3-EventThread] > org.apache.zookeeper.ClientCnxn Error while calling watcher > java.lang.NullPointerException: null > at > org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:535) > at > org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:510) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)