| ERROR | pool-jetty-1472721 | DefaultExceptionMapper | Internal server exception | requestId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,request=DELETE https://vcloud.example.com/api/vApp/vapp-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,requestTime=1685020067268,remoteAddress=192.168.1.220:57117,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 36.3
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.vmware.vcloud.common.model.logicalresource.VdcLogicalResourceModel#xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx]
at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409)
at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:108)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:97)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
at com.vmware.vcloud.common.model.logicalresource.VdcLogicalResourceModel_$$_jvste78_1a7.createEntityRef(VdcLogicalResourceModel_$$_jvste78_1a7.java)
at com.vmware.ssdc.backend.services.impl.VmManagerImpl.getDiskStorageClasses(VmManagerImpl.java:1365)
VMware Cloud Director 10.x
This issue occurs if there is a reference in the Cloud Director database for a VM Disk pointing to a Storage Policy which no longer exists in the Organization VDC where the VM is located.
A VM Disk should point to a valid Storage Policy in the Organization VDC if the VM Disk is NOT using the VM default policy option but has a specific Storage Policy set. This can be the same as the VM Home Storage Policy (VMX file location) or another different Storage Policy.
To resolve this issue, contact Broadcom Support and note this Article ID (325508) in the problem description. For more information, see Creating and managing Broadcom support cases.