are you sure this would give NPE? In the start method the config should have already been injected. I use the config there and I never had NPE