Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8394

Fix NPE error when NiFi connects to external zookeeper insecurely

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.13.0, 1.13.1, 1.13.2
    • 1.14.0
    • Core Framework

    Description

      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

      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)
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            naddym Nadeem
            naddym Nadeem
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                Slack

                  Issue deployment