Failed to generate package. Object reference not set to an instance of an object. (CEM)