From 543088a203a86e480ecac7fecbec801feb51c180 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. --- 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(); }