fbacchella / jrds

Another monitoring application, intentend to be simple to use and extensible.
http://jrds.fr/
80 stars 43 forks source link

Possible NPE in HcHttpProbe #65

Open panthony opened 9 years ago

panthony commented 9 years ago

Offending piece of code:

    public Map<String, Number> getNewSampleValues() {
        log(Level.DEBUG, "Getting %s", getUrl());
        HttpClientStarter httpstarter = find(HttpClientStarter.class);
        HttpClient cnx = httpstarter.getHttpClient();

The method find() may return NULL if the class is not found.