BZ-1072774 - NPE when I register a workitem handler