From 4ccbbd029d6f9bad43bda20f58fc8157ee90bded Mon Sep 17 00:00:00 2001 From: Min Chen Date: Thu, 1 Aug 2013 17:04:40 -0700 Subject: [PATCH] CLOUDSTACK-4002: [Upgrade][2.2.16 to 4.2] After upgrade creation of volume from a snapshot which was existing before upgrade, fails with NPE --- .../storage/datastore/db/SnapshotDataStoreVO.java | 2 +- .../storage/datastore/db/TemplateDataStoreVO.java | 2 +- .../cloudstack/storage/datastore/db/VolumeDataStoreVO.java | 2 +- .../schema/src/com/cloud/upgrade/dao/Upgrade410to420.java | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/engine/api/src/org/apache/cloudstack/storage/datastore/db/SnapshotDataStoreVO.java b/engine/api/src/org/apache/cloudstack/storage/datastore/db/SnapshotDataStoreVO.java index 300df1e9673..0fe5e088043 100644 --- a/engine/api/src/org/apache/cloudstack/storage/datastore/db/SnapshotDataStoreVO.java +++ b/engine/api/src/org/apache/cloudstack/storage/datastore/db/SnapshotDataStoreVO.java @@ -193,7 +193,7 @@ public class SnapshotDataStoreVO implements StateObject