Error: "Exception occurred while deploying and attaching network to vApp edge... java.lang.NullPointerException" when updating VM in Cloud Director UI
book
Article ID: 386742
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
You get notified that VM's NICs were reset in VCD (no network or IP addresses, disconnected NIC) and a NIC is no longer assigned to the vApp
Adding or modifying the network assigned to a VM NICs fails with "java.lang.NullPointerException" error
The following error is found in the cloud director debug logs:
Exception occurred while deploying and attaching network to vApp edge <VAPP_NETWORK_NAME> with id <VAPP_NETWORK_ID>.
Environment
VMware Clou Director 10.5.1.1
Cause
The network is not pointing to any valid Real Network and not associated to any other object in the Org VDC.
Resolution
To resolve the issue to contact Broadcom Support for guidance on optimization of the database and note this Article ID (376122) in the problem description. For more information, see Creating and managing Broadcom support cases