Add error handling when Event userdata is empty/null.

Resolves: https://www.pivotaltracker.com/story/show/78467744