Error: "DiskConsolidationFailed: Object reference not set to an instance of an object."

Error: "DiskConsolidationFailed: Object reference not set to an instance of an object."

book

Article ID: CTX208108

calendar_today

Updated On:

Description

We are attempting to add a new Microsoft Hyper-V server and create a new catalog.

When we begin the catalog creation process, we receive the following error:
Error Id: XDDS:19E984FA Exception: Citrix.Console.Models.Exceptions.ProvisioningTaskException Failed to copy the snapshot image /Windows7VM Template.vm/Citrix_XD_test.snapshot/Citrix_XD_Test.snapshot to the storage referenced by the Resources client. at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeTask.CheckForTerminatingError(SdkProvisioningSchemeAction sdkProvisioningSchemeAction) at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeTask.WaitForProvisioningSchemeActionCompletion(Guid taskId, Action`1 actionResultsObtained) at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeCreationTask.StartProvisioningAction() at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeCreationTask.RunTask() at Citrix.Console.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.Run() DesktopStudio_ErrorId : UnknownError ErrorCategory : NotSpecified ErrorID : DiskConsolidationFailed TaskErrorInformation : Terminated InternalErrorMessage : Object reference not set to an instance of an object.

Resolution

The user was using the local storage of the hyper-v server to create a new VM and they were also using the same master image they had used to create a the catalog on old Hyper-V server. 

To resolve this issue, create a new master image on the hypervisor and then try to create a new catalog. 

Issue/Introduction

Error: "DiskConsolidationFailed: Object reference not set to an instance of an object."