NullPointerException encountered when reviewing the vApp templates for an organization in VMware Cloud Director
search cancel

NullPointerException encountered when reviewing the vApp templates for an organization in VMware Cloud Director

book

Article ID: 402666

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Attempts review the vApp templates in the tenant portal for VMware Cloud Director result in a NullPointerException.
  • In the logs, errors similar to the following are seen:

    ... ERROR    vcloud-container-info    ... pool-jetty-7023436 | DefaultExceptionMapper | Internal server exception | requestId=...,request=GET .../###### ...,accept=application/*+json;version 38.0.0-alpha java.lang.NullPointerException at java.base/java.util.Objects.requireNonNull(Objects.java:221) at com.vmware.vcloud.api.presentation.entity.common.EntityRef.<init>(EntityRef.java:145) at com.vmware.vcloud.api.rest.handlers.utils.VAppTemplateUtils.toVAppTemplateSpec(VAppTemplateUtils.java:738) at com.vmware.vcloud.api.rest.handlers.utils.VAppTemplateUtils.generateLinks(VAppTemplateUtils.java:724) at
    ...

Environment

VMware Cloud Director 10.5.x

Cause

This issue is encountered when one or more vApp templates have a null storage class id.

Resolution

To investigate and address this issue, contact Broadcom Support and note this Article ID (402666) in the problem description. For more information see Creating and managing Broadcom support cases.