Error: "class java.lang.NullPointerException" when viewing a virtual service on a tenant edge gateway
search cancel

Error: "class java.lang.NullPointerException" when viewing a virtual service on a tenant edge gateway

book

Article ID: 422880

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • From the VMware Cloud Director(VCD) tenant portal, viewing the gateway loadbalancer virtual services show the following error: 
    [########-####-####-####-############]class java.lang.NullPointerException.
  • From the list of all virtual services on that edge, the health of the affected virtual service is in an 'Unknown' state.
  • The status on the affected virtual service shows 'Busy'
  • There are no actively running tasks seen from the UI.
  • Deleting the virtual service via API using Delete Virtual Service fails with reference to the object being busy.

Environment

VMware Cloud Director 10.6.x.x

Cause

  • This issue is caused when the backing virtual service was directly deleted from NSX.
  • The object being busy with another operation also left a hung task preventing further operations.

Resolution

The workaround for this issue requires modification of the Cloud Director database.

For assistance, contact Broadcom Support and note this Article ID (422880) in the problem description. For more information, see Creating and managing Broadcom support cases .