Nullptr crash in Document::open after calling policyChecker().stopCheck()