Bug 167 - NPE when cancelling events