Retrieving a relation via a microflow serialization error [closed]

1
I am trying to retrive some objects by calling a microflow from the client. The micrflow takes a parent entity as its only paramater. Every parent has a few children and a child has only one parent. I want to return all the children of the supplied parent. The microflow works (checked it out using breakpoints) and the result list is filled and returned from the microflow. But it all goes downhill from there. I attached all the relevant stack traces, messages and posts. The project it self is also pretty small and I can share it on request if a test case is needed. Actual used version is 3.2.1.1. Request form the client (POST http://localhost:8080/xas/): { "action":"retrieve_by_ids", "params":{ "ids":[281483566646149], "schema":{ "id":"ef3fef22-eb22-4db2-9284-62db545cce88" } }, "context":[] } Reply from the server: { "mxobjects":[ { "type":"exception", "description":"An error has occurred while handling the request.", "result":560, "instructions":[] } ] } Core Message: Object with the following id couldn't be retrieved: '[MendixIdentifier:: guid=281483566646149 objectType=MyFirstModule.Parent objectTypeHash=2 dataStoreCode=1 objectStoreId=901]' Connector stack trace: An error has occurred while handling the request. [User 'Anonymous_be928b57-f6fd-4764-8b74-451dda87197b' with roles 'Administrator'] -------- org.codehaus.jackson.JsonGenerationException: Current context not an ARRAY but OBJECT at org.codehaus.jackson.impl.JsonGeneratorBase._reportError(JsonGeneratorBase.java:375) at org.codehaus.jackson.impl.JsonGeneratorBase.writeEndArray(JsonGeneratorBase.java:152) at jW.f(SourceFile:132) at jV.a(SourceFile:221) at jV.a(SourceFile:205) at jV.a(SourceFile:143) at jV.a(SourceFile:84) at iK.a(SourceFile:53) at iI.a(SourceFile:311) at iI.a(SourceFile:240) at iI.processRequest(SourceFile:179) at iL.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:856) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:43) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662)
asked
1 answers
0

Closed because the problem turned out to be a empty data view.

answered