fix npe in PageTypeResolverService line 107