I have created a new app in mendix modeler 5.3.1 and getting the below error during runtime. An error has occurred while handling the request. [User 'Anonymous_0f463c83-e764-4d2c-a0f0-4256dbb4fd90' with session id '652b406d-64b5-4f09-8bcc-5258cd2d876c' and roles 'Administrator'] com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"amount":0,"sort":{"RequestNo":"asc"},"offset":0,"type":"RetrieveXPathAction","depth":0,"xpath":"//MyFirstModule.Request[id=\"2\"]"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:216) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"amount":0,"sort":{"RequestNo":"asc"},"offset":0,"type":"RetrieveXPathAction","depth":0,"xpath":"//MyFirstModule.Request[id=\"2\"]"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.processErrorState(SourceFile:342) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: An exception has occurred for the following request(s): ej (depth = 0): //MyFirstModule.Request[id="2"] at com.mendix.m.a(SourceFile:58) Caused by: java.lang.IllegalArgumentException: Entity id should be not zero at com.mendix.core.objectmanagement.SchemeManagerImpl.getObjectType(SourceFile:1511) at com.mendix.core.objectmanagement.MendixIdentifier.getObjectType(SourceFile:142) at com.mendix.dg.a(SourceFile:925) at com.mendix.dg.a(SourceFile:392) at com.mendix.dg.a(SourceFile:170) at com.mendix.dg.a(SourceFile:143) at com.mendix.dc.C(SourceFile:860) at com.mendix.dc.u(SourceFile:229) at com.mendix.dc.a(SourceFile:126) at com.mendix.cr.b(SourceFile:116) at com.mendix.cr.a(SourceFile:89) at com.mendix.cv.a(SourceFile:71) at com.mendix.m.a(SourceFile:44) at com.mendix.a.a(SourceFile:238) at com.mendix.core.action.user.RetrieveXPathRawAction.retrieveXPathRaw(SourceFile:135) at com.mendix.core.action.user.RetrieveXPathRawAction.executeAction(SourceFile:75) at com.mendix.core.action.user.RetrieveXPathAction.executeAction(SourceFile:52) at com.mendix.core.action.user.RetrieveXPathAction.executeAction(SourceFile:17) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:205) at com.mendix.core.component.InternalCore.retrieveXPathQuery(SourceFile:1326) at com.mendix.core.component.InternalCore.retrieveXPathQuery(SourceFile:1305) at com.mendix.core.component.InternalCore.retrieveXPathQuery(SourceFile:1440) at com.mendix.jA.b(SourceFile:206) at com.mendix.jA.a(SourceFile:106) at com.mendix.pN$g.apply$mcV$sp(SourceFile:292) at com.mendix.pN$g.apply(SourceFile:283) at com.mendix.pN$g.apply(SourceFile:283) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(SourceFile:151) at scala.util.Try$.apply(Try.scala:161) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(SourceFile:149) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
↧