Nadeem created NIFI-8394:
----------------------------
Summary: 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.2, 1.13.1, 1.13.0
Reporter: Nadeem
Assignee: Nadeem
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)