Failed to evaluate expression

I had a simple microflow with: - ServiceList: retrieves all "Services" of Service type x (parameter) - maximumOrder: Aggregate function that calculates the max of the attribute "Order" (Integer) in every record in ServiceList - Create object "NewService" (- create an image for this new object) - Change NewService: member "Order" set value to $maximumOrder+10 An error has occures while handling the request. [User 'Anonymous_7d6a52af-88c4-4256-a0c6-80fdcbb5cbcf' with roles 'MxAdministrator'] I tried this in a small development project, it is working fine. I reproduced the same microflow in a pretty big project: I get the error. The error is when I trigger the "New Service" microflow in the application, it doesn't happen at compilation or startup the engine. com.mendix.core.CoreException: Exception occurred in action 'Microflow [ServiceCalls.NewService]', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.d(SourceFile:553) Caused by: com.mendix.core.CoreException: Exception occurred in microflow 'ServiceCalls.NewService' for activity 'Change 'NewService' (Order)', all database changes executed by this microflow were rolled back at kP.b(SourceFile:251) Caused by: gB: Failed to evaluate expression, error occurred on line 1, character 1 $maximumOrder+10 ^ at ld.a(SourceFile:42) Caused by: ai: java.lang.NullPointerException at hE.b(SourceFile:41) Caused by: java.lang.NullPointerException at eP.b(SourceFile:94) at eP.a(SourceFile:43) at hE.b(SourceFile:33) at ld.a(SourceFile:35) at t.a(SourceFile:126) at t.a(SourceFile:78) at kP.a(SourceFile:71) at eO.executeAction(SourceFile:96) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49) at at it.b(SourceFile:155) at com.mendix.core.Core.execute(SourceFile:191) at dw.execute(SourceFile:183) at ju.a(SourceFile:299) at ju.a(SourceFile:230) at ju.processRequest(SourceFile:174) at fC.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:916) at com.mendix.m2ee.server.handler.RuntimeHandler.handle( at org.eclipse.jetty.server.handler.HandlerWrapper.handle( at org.eclipse.jetty.server.Server.handle( at org.eclipse.jetty.server.HttpConnection.handleRequest( at org.eclipse.jetty.server.HttpConnection$RequestHandler.content( at org.eclipse.jetty.http.HttpParser.parseNext( at org.eclipse.jetty.http.HttpParser.parseAvailable( at org.eclipse.jetty.server.HttpConnection.handle( at at org.eclipse.jetty.util.thread.QueuedThreadPool$ at
0 answers