Update AntiLogEvent.java

Some checks to prevent NPE's.