If Visbility controller is configured as RegionServerCP then we are not throwing the proper response in the error msg. Instead we say zk == null.
This JIRA just tries to throw a proper error msg in case Visibility CP is of type RegionServerCP.
Andrew Kyle Purtell
If you are fine with the patch attached, we can include this in our next RC.