Fixed NPE obtaining page descriptors.