try {
deviceName = DevicesHelper.getDeviceName(accessor,
DevicesHelper.UAPROF_PREFIX,
uaprofUrl.toExternalForm(), null);
} catch (RepositoryException e) {
throw new DeviceRepositoryException(e);
}
if (deviceName == null) {
if (unknownDevicesLogger != null) {
try {
unknownDevicesLogger.appendEntry(