[
https://issues.apache.org/jira/browse/FELIX-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved FELIX-6452.
-------------------------------------
Resolution: Fixed
Fixed by making the reference required
https://github.com/apache/felix-dev/commit/1d53fa9b2292d88c4a500f5bdb860e712cb6dce0
Note: the code does not make that much sense and has potentially other flaws
> Potential NPE in HttpRequestsCheck.activate
> -------------------------------------------
>
> Key: FELIX-6452
> URL: https://issues.apache.org/jira/browse/FELIX-6452
> Project: Felix
> Issue Type: Bug
> Components: Health Checks
> Affects Versions: healthcheck.generalchecks 2.0.8,
> healthcheck.generalchecks 2.0.10
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: healthcheck.generalchecks 2.0.12
>
>
> The activate method of HttpRequestsCheck is assuming that a service reference
> for the HttpService is always registered - if that is not the case, activate
> results in a NPE
--
This message was sent by Atlassian Jira
(v8.3.4#803005)