null event exception handling