Error: "java.lang.NullPointerException at com.vmware.vcloud.api.presentation.entity.rcl.VmPvdcComputePolicySpec.equals(VmPvdcComputePolicySpec.java:113)" is shown when attempting to display vApp or VM in Cloud Director UI
search cancel

Error: "java.lang.NullPointerException at com.vmware.vcloud.api.presentation.entity.rcl.VmPvdcComputePolicySpec.equals(VmPvdcComputePolicySpec.java:113)" is shown when attempting to display vApp or VM in Cloud Director UI

book

Article ID: 380812

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Unable to view details of vApp and VM in Cloud Director UI and the following error is shown:

java.lang.NullPointerException

  • The following error is displayed in the browser Developer Tool for the api call to display the vApp or VM: 

Status Code: 500 Server Error

"stackTrace": "java.lang.NullPointerException
at com.vmware.vcloud.api.presentation.entity.rcl.VmPvdcComputePolicySpec.equals(VmPvdcComputePolicySpec.java:113)

Environment

VMware Cloud Director 10.5.1.1

Cause

This is caused from an issue on the VM Placement Policy which has a wrong entry in the policy details at Provider VDC level.

Resolution

For assistance, contact technical support and note this Knowledge Article ID (380812) in the problem description. For more information, see How to Submit a Support Request.