DELETE /policy/api/v1/infra/port-mirroring-profiles/<port-mirroring-profile-id>
Output:
{
"module_name": "common-services",
"error_message": "General error has occurred.",
"details": "java.lang.NullPointerException",
"error_code": 100
}
INFO http-nio-127.0.0.1-7440-exec-16 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-127.0.0.1-7440-exec-16 NsxBaseRestController 79136 SYSTEM [nsx@6876 comp="nsx-manager" errorCode="MP100" level="ERROR" subcomp="manager"]
java.lang.NullPointerException: null
at com.vmware.nsx.management.policy.operations.monitoring.service.PortMirroringProfileServiceImpl.validateOnDelete(PortMirroringProfileServiceImpl.java:414) ~[?:?]
at com.vmware.nsx.management.policy.policyframework.service.PolicyServiceImpl.isDeleteNeeded(PolicyServiceImpl.java:1078) ~[?:?]
at com.vmware.nsx.management.policy.policyframework.service.PolicyServiceImpl.delete_aroundBody18(PolicyServiceImpl.java:667) ~[?:?]
This is a known issue impacting VMware NSX.
Workaround: