NullPointer on Enable

NullPointer when registering events.