Symptoms:
- Configuring a new replication in vCloud Availability fails with the error:
Operation aborted due to an unexpected error.
- In /opt/vmware/h4/cloud/log/cloud.log on the vCloud Availability Replication Management appliance, you see entries similar to:
2020-07-03 10:26:28.389 ERROR - [UI-a0bdd683-84a0-4555-a2be-7d29d06fa9f9-1p-Vk-Hw] [job-6] com.vmware.h4.jobengine.JobExecution : Task 434370ae-b5d1-4dad-8a29-b42d0b5bec1c (WorkflowInfo{type='setupDestination', resourceType='replication', resourceId='H4-ba8a63a4-5c41-4923-9cae-fb1c9b0ae5e1', isPrivate=false, resourceName='null'}) has failed
java.lang.NullPointerException: null
at com.vmware.vlsi.client.sso.Ls2Gateway.findPbm(Ls2Gateway.java:69)
at com.vmware.h4.replicator.vc.PbmConnector.pbmEndpoint(PbmConnector.java:64)
at com.vmware.h4.replicator.vc.PbmConnector.getPbmSettings(PbmConnector.java:59)
at com.vmware.h4.replicator.vc.PbmConnector.withPbmConnection(PbmConnector.java:50)
at com.vmware.h4.replicator.services.PbmService.getRawStoragePolicy(PbmService.java:41)
at com.vmware.h4.replicator.replication.util.DiskHelper.getProfileSpec(DiskHelper.java:170)
at com.vmware.h4.replicator.replication.util.DiskHelper.makeDisk(DiskHelper.java:121)
at com.vmware.h4.replicator.replication.util.StorageHelper.createVmdks(StorageHelper.java:63)
at com.vmware.h4.replicator.replication.SetupDestinationJob.execute(SetupDestinationJob.java:180)
at com.vmware.h4.replicator.replication.SetupDestinationJob.execute(SetupDestinationJob.java:71)
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.