Error: "Null value was assigned to a property of primitive type setter of com.vmware.vcloud.common.model.VmSnapshotViewModel.snapshotUid" when attempting to view or delete snapshots of Virtual Machine
search cancel

Error: "Null value was assigned to a property of primitive type setter of com.vmware.vcloud.common.model.VmSnapshotViewModel.snapshotUid" when attempting to view or delete snapshots of Virtual Machine

book

Article ID: 380909

calendar_today

Updated On: 04-16-2025

Products

VMware Cloud Director

Issue/Introduction

  • After upgrading to Cloud Director 10.6 you cannot view or delete snapshots of Virtual Machine (VM) inside VMware Cloud Director (VCD) User Interface (UI).
  • However, the snapshots can be viewed inside vCenter and looks correct. 
  • You receive an error message in the VCD UI when attempting to view, delete or manage snapshots:

    Null value was assigned to a property of primitive type setter of com.vmware.vcloud.common.model.VmSnapshotViewModel.snapshotUid

Environment

VMware Cloud Director 10.6

Cause

VMware Cloud Director 10.6 introduced the ability to have more than 1 snapshot.

This issue occurs when Snapshots exist in VMware Cloud Director's database that don't exist in vCenter.

Resolution

To resolve this issue, you need to remove the stale snapshot entries from VCD database and to upgrade to Cloud Director 10.6.1 to avoid the issue again.
Please contact Broadcom Support and note this Article ID (380909) in the problem description. For more information, see
Creating and managing Broadcom support cases

Additional Information