Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible NPE in HcHttpProbe #65

Open
panthony opened this issue Aug 6, 2015 · 0 comments
Open

Possible NPE in HcHttpProbe #65

panthony opened this issue Aug 6, 2015 · 0 comments

Comments

@panthony
Copy link
Contributor

panthony commented Aug 6, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant