Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2261

When only secureClientPort is configured connections, configuration, connection_stat_reset, and stats admin commands throw NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.6.0, 3.5.5
    • None

    Description

      When only secureClientPort is configured connections, configuration, connection_stat_reset and stats admin commands throw NullPointerException. Here is stack trace one of the connections command.

      java.lang.NullPointerException
      	at org.apache.zookeeper.server.admin.Commands$ConsCommand.run(Commands.java:177)
      	at org.apache.zookeeper.server.admin.Commands.runCommand(Commands.java:92)
      	at org.apache.zookeeper.server.admin.JettyAdminServer$CommandServlet.doGet(JettyAdminServer.java:166)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      

      Attachments

        Issue Links

          Activity

            People

              andor Andor Molnar
              arshad.mohammad Mohammad Arshad
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 4.5h
                  4.5h