suspecting NPE is thrown if activationSpec element doesn't exist in config. It must be fixed if it occurs, and check other elements as well.