In case PersistentEntities exposes a managed type whose raw type currently doesn't have a PersistentEntity registered, the constructor of UriToEntityConverter ran into a NullPointerException. We now explicitly check for null and skip those types. Filed DATAREST-1021 for further improvements in the 3.0 time frame.