pderop opened a new pull request, #609: URL: https://github.com/apache/felix-dev/pull/609
Motivation: When a filter index configured in the org.apache.felix.dependencymanager.filterindex property can't be created (for example an unknown class name), a null index was added to the service registry cache, and the following indices were not created. Every service lookup and service event handled by the cache then failed with a NullPointerException, breaking all DM components. Modification: Create each configured index separately: an index which can't be created is logged with the DM logger and skipped. An index is only added to the cache once it has been successfully opened. Add a unit test. Result: An invalid index is reported as an error, the other indices are still created, and DM components keep working. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
