Exception because of 2 calls to microflow, where one is expected

0
I am getting an exception because one microflow that is called in an onchange event on a reference selector is called twice instead of once. The second time it used an unknown reference, causing the stacktrace included below. If I remove the selectable objects microflow that is also attached to the reference selector, the problem does not occur, but I get too many values in the selector. Does anyone have any suggestions? An error has occurred while handling the request. [User 'hans' with roles 'Accountmanager'] com.mendix.core.CoreException: Exception occurred in action 'Microflow [ProposalManagement.KopieerOrderlineOnderdeel]', 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 'ProposalManagement.KopieerOrderlineOnderdeel' for activity 'Change 'OrderlineOnderdeel' (NaamOnderdeel, AantalVanToepassing, Aantal)', all database changes executed by this microflow were rolled back at mk.b(SourceFile:255) Caused by: java.lang.IllegalArgumentException: Boolean member can not be set to null at com.mendix.core.objectmanagement.member.MendixBoolean.setValue(SourceFile:73) at com.mendix.core.objectmanagement.member.MendixBoolean.parseValueFromString(SourceFile:57) at hv.setValue(SourceFile:274) at gA.a(SourceFile:294) at lp.a(SourceFile:178) at lp.a(SourceFile:78) at mk.a(SourceFile:75) at mj.executeAction(SourceFile:94) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:473) at gW.b(SourceFile:156) at com.mendix.core.Core.execute(SourceFile:193) at fP.execute(SourceFile:183) at is.a(SourceFile:301) at is.a(SourceFile:232) at is.processRequest(SourceFile:176) at iv.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:835) 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
0 answers