diff --git a/plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java b/plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java index 0c078b1e316..049a0364e8e 100644 --- a/plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java +++ b/plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java @@ -173,7 +173,7 @@ public class CloudStackImageStoreDriverImpl implements ImageStoreDriver { AsyncCallbackDispatcher caller = AsyncCallbackDispatcher.create(this); caller.setContext(context); - caller.setCallback(callback); + caller.setCallback(this.createAsyncCallback(null, null)); if (data.getType() == DataObjectType.TEMPLATE) { TemplateObject tData = (TemplateObject)data;