UUID uuid = UUID.create(asset.getId()); if (asset.getChunkList() == null || (asset.getChunkList().getChunk().size() != 1)) { throw new ConversionException(String.format( "'%s' must have exactly one chunk for asset '%s'", String assetPath = asset.getChunkList().getChunk().get(0).getPath();