Wrong friendly url in document library causes a NPE.
LPS-67702 Wrong friendly url in document library causes a NPE