The Display Property Macro throws a NPE if there is no document referenced and there is no page to refer to either.