Microflow debugger error on simple retrieve

1
I'm currently debugging a microflow and noticed something strange. I have a simple supplier entity from which I retrieve a certain subset from the database. So: Retrieve from database -> Supplier xpath: [SupplierType = 'Manufacturer'] This list contains 2 suppliers. When inspecting the list in the variables tab i receive the following error: Mendix.Modeler.MicroFlows.Debugger.DebuggerException: java.lang.Long cannot be cast to java.lang.Integer at Mendix.Modeler.MicroFlows.Debugger.DebuggerResponse..ctor(String requestActionName, String responseText) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Core\MicroFlows\Debugger\DebuggerResponse.cs:line 27 at Mendix.Modeler.MicroFlows.Debugger.DebuggerClient.PerformRequest(DebuggerRequest request, Int32 timeout) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Core\MicroFlows\Debugger\DebuggerClient.cs:line 166 at Mendix.Modeler.MicroFlows.Debugger.DebuggerClient.GetObjectFromList(Guid debugId, String variableName, Int32 index) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Core\MicroFlows\Debugger\DebuggerClient.cs:line 143 at Mendix.Modeler.MicroFlows.Debugger.VariablesTreeModel.<>cDisplayClasse.<getchildren>b5(DebuggerClient client) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Core\MicroFlows\Debugger\VariablesTreeModel.cs:line 66 at Mendix.Modeler.MicroFlows.Debugger.DebuggerControl.<>cDisplayClass16.<clientdoasync>b14(Object sender, DoWorkEventArgs args) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Core\MicroFlows\Debugger\DebuggerControl.cs:line 120 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
asked
2 answers
1

Please check https://forum.mendix.com/questions/4576/document%20template%20datagrid%20data%20causes%20java.lang.Long%20cannot%20be%20cast%20to%20java.lang.Double

check your MF's on calculated attribute in the entity you retrieve

answered
0

File a bug report. Seems that an old bug is popping up again in Mx5.10.

Regards,

Ronald

answered