Added extra NPE check in PopulateEventInfo to fix a possible crash.