[added] Check for createEvent's args to prevent corruption

Change-Id: I2a2d516e121b0c734b668556055eae7212e4c104
Merge "[added] Check for createEvent's args to prevent corruption" into unstable