After the handler is added we get the following ERROR in the log file.
The reason is 2-phase process of adding new service by DefaultServiceManager. First the manager adds a service without any parameters, but still it calls init() on the service method (with empty PropertySet). Subsequently the implementation calls:
which calls again init() this time passing valid service/handler params.
Our stronger error checking has to deal with it (i.e. extra call of init() with empty params), ultimately we should though change the way how
ServiceConfigStore works and add there the ability to add service together with params in one call.