When I access an ODATA feed in the sandbox it crashes. In the logfiles I find the info. The calculation is very straight forward so whats the issue? Is it an mendix/scala run-time bug or? O Initializing HTTP Server at http://localhost:6666/ 16:38:37 APP HTTP Server Initialized. 16:40:03 APP ERROR ConnectionBus_Retrieve: The association 'System.owner' of object 'Kwaliteit.Cursus' with data store id '10977524091715686' refers to a non-existing object 'System.User' with data store id '281474976710657'. 16:40:05 APP ERROR OData Publish: Exception occurred while serializing OData response. 16:40:05 APP ERROR OData Publish: com.mendix.core.CoreRuntimeException: An error occurred while executing the action 'Kwaliteit.Calc_Ruis_overig' 16:40:05 APP INFO at com.mendix.core.objectmanagement.MendixObjectMemberImpl.getValue(MendixObjectMemberImpl.java:197) 16:40:05 APP INFO Caused by: com.mendix.modules.microflowengine.MicroflowException: Failed to evaluate expression, error occurred on line 1, character 1 16:40:05 APP INFO $cursus/SP*28 - $cursus/LesurenKlok - $cursus/Stages - $cursus/Zelfstudie - $cursus/Toetsen - $cursus/Werkstukken 16:40:05 APP INFO ^ 16:40:05 APP INFO Advanced stacktrace: 16:40:05 APP INFO at com.mendix.languages.mxexpressions.MxExpression.evaluate(MxExpression.scala:15) 16:40:05 APP INFO at Kwaliteit.Calc_Ruis_overig (CreateOrChangeVariable : 'Create Integer/Long variable') 16:40:05 APP INFO at com.mendix.languages.expressions.Expr.evaluate(Expr.java:28)
Arthur van der Molen
Did you restore data from another node or delete accounts? It seems your Cursus object is owned (created) by a user who no longer exists. It would be nice if the OData export would not crash over this but just return an empty value for the owner, with a warning in the log.