From 15f50c112b3f1c1237272937df6e138c8a2e22e0 Mon Sep 17 00:00:00 2001 From: Min Chen Date: Tue, 27 Aug 2013 13:57:04 -0700 Subject: [PATCH] CLOUDSTACK-4520: [upgrade][vmware]ExtractVolumeCmd fails with NPE while attempting to download a volume.(cherry picked from commit 13d9070d5e11fc8b15156b4d3978446837904641) Signed-off-by: animesh --- engine/schema/src/com/cloud/storage/VolumeVO.java | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/schema/src/com/cloud/storage/VolumeVO.java b/engine/schema/src/com/cloud/storage/VolumeVO.java index bbecf0346c3..ea3d6bffa67 100755 --- a/engine/schema/src/com/cloud/storage/VolumeVO.java +++ b/engine/schema/src/com/cloud/storage/VolumeVO.java @@ -238,6 +238,7 @@ public class VolumeVO implements Volume { this.chainInfo = that.getChainInfo(); this.templateId = that.getTemplateId(); this.deviceId = that.getDeviceId(); + this.format = that.getFormat(); this.uuid = UUID.randomUUID().toString(); }