searchbox-io/Jest — pull request #139 by phospodka (2014-07-23 20:06:57+00:00)
Title: Discovered NPE when discovery is enabled and nodes do not have http_address element

Some cluster nodes (i.e. logstash nodes or I imagine any with http.enabled set to false) will not have the http_address element as part of their result. To avoid a NPE, need to check that the element exists before trying to get it as a string.