In NSX-T Data Center, deleting port mirroring sessions fails
search cancel

In NSX-T Data Center, deleting port mirroring sessions fails


Article ID: 322483


Updated On:


VMware NSX Networking


  • You've recently deleted a port mirroring profile through NSX UI.
  • Trying the below DELETE API call to delete the port mirroring sessions, Returns status 500 Internal Server Error with the following output:
DELETE /policy/api/v1/infra/port-mirroring-profiles/<port-mirroring-profile-id> 
    "module_name": "common-services",
    "error_message": "General error has occurred.",
    "details": "java.lang.NullPointerException",
    "error_code": 100
  • After that the port mirroring session gets stuck in deletion in progress state, and you are unable to create more port mirroring profiles.
  • In NSX-T Manager log /var/log/nsxapi.log the following messages can be seen: 
INFO http-nio- PortMirroringProfileServiceImpl 79136 POLICY [nsx@6876 comp="nsx-manager" level="INFO" reqId="4aefdb4e-d4d8-11ec-9b82-0200ab650843" subcomp="manager" username="admin"] Validating Delete on Port mirroring profile /infra/port-mirroring-profiles/<port-mirroring-profile-id> 
ERROR http-nio- NsxBaseRestController 79136 SYSTEM [nsx@6876 comp="nsx-manager" errorCode="MP100" level="ERROR" subcomp="manager"]
java.lang.NullPointerException: null


VMware NSX-T Data Center


In NSX-T Data Center, when deleting a port mirroring profile, under certain conditions, it can lead to a stale entry in the NSX-T manager database.


This is a known issue impacting VMware NSX.

  • If you believe you have encountered this issue, please open a support request with VMware NSX-T GSS and refer to this KB article.
  • For more information, see How to Submit a Support Request.