fix NPE in PageTypeResolverService.java:133 (checkDoc == null)