Internal Server Error - No row with the given identifier exists: [com.vmware.vcloud.common.model.logicalresource.VdcLogicalResourceModel#########-####-####-####-############]
/opt/vmware/vcloud-director/logs/vcloud-container-debug.log
on the VMware Cloud Director Cells show errors of the form:ERROR | pool-jetty-########| DefaultExceptionMapper | Internal server exception | requestId=...
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.vmware.vcloud.common.model.logicalresource.VdcLogicalResourceModel#########-####-####-####-############]
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_$$_jvstdde_1e3.getLrType(VdcLogicalResourceModel_$$_jvstdde_1e3.java)
at com.vmware.vcloud.valc.config.impl.LogicalResourceConfigFactoryImpl.fromVdcLogicalResourceModel(LogicalResourceConfigFactoryImpl.java:57)
at com.vmware.vcloud.valc.impl.VmImpl.getStorageClass(VmImpl.java:381)
at com.vmware.vcloud.api.presentation.service.impl.VAppServiceAdapterImpl.createVmStorageClassAssignments(VAppServiceAdapterImpl.java:1179)
VMware Cloud Director 10.5.x
This issue occurs if there is a reference in the VMware Cloud Director database for a stale VM and its disk(s) pointing to a Storage Policy which no longer exists in the Organization VDC as well as the vAPP which no longer exists in the Organization VDC.
For assistance, contact technical support and note this Knowledge Article ID (377556) in the problem description. For more information, see How to Submit a Support Request.