Symptoms:
- After replacing either the vApp Replication Manager or Tunnel certificate in a vCloud Availability cloud site, when you re-enable the tunnel it fails with the error:
Operation aborted due to an unexpected error.
- In the /opt/vmware/h4/cloud/log/cloud.log file on the vApp Replication Manager, you see a similar error:
2019-05-06 14:16:49.846 ERROR - [UI__f86e64c7-9454-4996-84d0-8bd589578c5e_gF] [https-jsse-nio-8443-exec-4] c.v.h.c.c.error.ExceptionAdvisorBase : A POST request from root[192.168.1.51] to /config/tunnel-service failed.
com.vmware.vdr.error.exceptions.GenericServerException: Operation aborted due to an unexpected error.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
...
- In the /opt/vmware/h4/tunnel/log/tunnel.log file on the vCloud Availability Tunnel, you see a similar error:
2019-05-06 14:16:52.952 ERROR - [6840d031-96d0-4d0a-9c45-617a23129896_lM] [https-jsse-nio-8047-exec-7] c.v.h.c.c.error.ExceptionAdvisorBase : A POST request from null[192.168.1.62] to /api-client-auth failed.
org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while committing the transaction
...
Caused by: javax.persistence.RollbackException: Error while committing the transaction
...
Caused by: java.lang.NullPointerException: null
at org.hibernate.type.LongType.next(LongType.java:62)
at org.hibernate.type.LongType.next(LongType.java:23)
at org.hibernate.engine.internal.Versioning.increment(Versioning.java:92)
...
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.