In Class ContentTypesHelper : 152 When cTypeId references non existing (anymore) content type.
private boolean _containsContentType(String[] cTypesId, String cTypeId) { for (String id : cTypesId) { ContentType cType = _getContentTypeEP().getExtension(id); if (ArrayUtils.contains(cType.getSupertypeIds(), cTypeId)) { return true; } else if (_containsContentType(cType.getSupertypeIds(), cTypeId)) { return true; } } return false; }