Fix #248

NullPointerException during a happening event.