On one specific object, retrieving it gets the error: No corresponding object name

0
An object in my database can not be read anymore. How can I remove or repair that object? This is what happens when trying to retrieve that object: In the log it shows a more elaborate error: com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.connectionbus.ConnectionBusRuntimeException: An exception has occurred for the following request(s): InternalXPathTextGetRequest (depth = 0, amount = 1): //EmailTemplate.EmailSettings at EmailTemplate.DS_GetEmailSettings (RetrieveByXPath : 'Retrieve EmailSettings from database') at EmailTemplate.ScE_SendQueuedEmails (SubMicroflow : 'DS_GetEmailSettings') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:83) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.connectionbus.ConnectionBusRuntimeException: An exception has occurred for the following request(s): InternalXPathTextGetRequest (depth = 0, amount = 1): //EmailTemplate.EmailSettings at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:84) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.connectionbus.ConnectionBusRuntimeException: An exception has occurred for the following request(s): InternalXPathTextGetRequest (depth = 0, amount = 1): //EmailTemplate.EmailSettings at com.mendix.util.classloading.Runner.withContextClassLoader(Runner.java:23) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: An exception has occurred for the following request(s): InternalXPathTextGetRequest (depth = 0, amount = 1): //EmailTemplate.EmailSettings at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.scala:33) Caused by: com.mendix.core.CoreRuntimeException: The provided entity id '15' has no corresponding meta object name at com.mendix.basis.objectmanagement.SchemeManagerImpl.$anonfun$getMetaObject$2(SchemeManagerImpl.scala:199) at scala.Option.getOrElse(Option.scala:201) at com.mendix.basis.objectmanagement.SchemeManagerImpl.getMetaObject(SchemeManagerImpl.scala:199) at com.mendix.basis.objectmanagement.SchemeManagerImpl.getMetaObject(SchemeManagerImpl.scala:31) at com.mendix.basis.objectmanagement.MendixIdentifier$.of(MendixIdentifier.scala:65) at com.mendix.basis.component.InternalCore.createMendixIdentifier(InternalCore.scala:50) at com.mendix.connectionbus.data.InternalDataTable.mapOtherGuidColumn(InternalDataTable.java:351) at com.mendix.connectionbus.data.InternalDataTable.mapOtherGuids(InternalDataTable.java:335) This is has been asked five times in the past five years: https://forum.mendix.com/link/questions/8433 https://forum.mendix.com/link/questions/8455 https://forum.mendix.com/link/questions/8943 https://forum.mendix.com/link/questions/86630 https://forum.mendix.com/link/questions/101058 All saying: this is a data problem and should never happen with pure Mendix. I do agree on that, although my app is pure Mendix. It has no custom Java-code and Mendix is the only one changing the database. I can pinpoint the error to an object of entity ‘Note’ but not on which object. My expectation is that the Note has lost it ‘owner’, which is an Account that got deleted recently Any ideas how to repair my database and this note?
asked
1 answers
0

Hmm, either create a support ticket or download the database yourself and check what is inside. Then you maybe could create a hotfix microflow that recreates that object and set all the references again. Will cost you some time though. Depends a bit on how many references there are to this object.

Regards,

Ronald

 

answered