fix for STRATOS-806:Sending an ApplicationCreatedEvent throws Exception