Hey there,
I'm having some trouble with the Mendix Modeler. Every time I call a microflow i get this stacktrace:
An error has occurred while handling the request. [User 'AH Distributiecentrum' with session id 'a80d9ced-3c8f-485e-8bc8-643b2cc7c209' and roles 'Leverancier']
--------
com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"{Productnaam=FUCK, Prijs=2, Kortingspercentage=3}","type":"ChangeAction"}', all database changes executed by this action were rolled back
at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:176)
Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"{Productnaam=FUCK, Prijs=2, Kortingspercentage=3}","type":"ChangeAction"}', all database changes executed by this action were rolled back
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:40)
Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"{Productnaam=FUCK, Prijs=2, Kortingspercentage=3}","type":"ChangeAction"}', all database changes executed by this action were rolled back
at com.mendix.core.actionmanagement.CoreAction.processErrorState(CoreAction.java:303)
Caused by: java.lang.NumberFormatException: null
at java.math.BigDecimal.<init>(BigDecimal.java:494)
at java.math.BigDecimal.<init>(BigDecimal.java:383)
at java.math.BigDecimal.<init>(BigDecimal.java:806)
at com.mendix.systemwideinterfaces.core.meta.IMetaPrimitive$PrimitiveType$6.valueOf(IMetaPrimitive.java:94)
at com.mendix.core.objectmanagement.meta.datavalidation.RangeValidation.isGreaterThan(RangeValidation.java:157)
at com.mendix.core.objectmanagement.meta.datavalidation.RangeValidation.isValid(RangeValidation.java:113)
at com.mendix.core.objectmanagement.DataValidationUtil.validateObjectMember(DataValidationUtil.java:52)
at com.mendix.core.action.user.Changer$class.validateMember$1(Changer.scala:122)
at com.mendix.core.action.user.Changer$$anonfun$validateObject$1.apply(Changer.scala:144)
at com.mendix.core.action.user.Changer$$anonfun$validateObject$1.apply(Changer.scala:144)
at scala.collection.immutable.Set$Set3.foreach(Set.scala:145)
at com.mendix.core.action.user.Changer$class.validateObject(Changer.scala:144)
at com.mendix.core.action.user.ChangeAction.validateObject(ChangeAction.scala:10)
at com.mendix.core.action.user.ChangeAction.executeAction(ChangeAction.scala:35)
at com.mendix.core.action.user.ChangeAction.executeAction(ChangeAction.scala:10)
at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:172)
at com.mendix.core.component.InternalCore.change(InternalCore.java:123)
at com.mendix.webui.requesthandling.ChangesHandling$$anonfun$validateChanges$1$$anonfun$3.apply(ChangesHandling.scala:28)
at com.mendix.webui.requesthandling.ChangesHandling$$anonfun$validateChanges$1$$anonfun$3.apply(ChangesHandling.scala:21)
at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728)
at scala.collection.immutable.Map$Map1.foreach(Map.scala:116)
at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727)
at com.mendix.webui.requesthandling.ChangesHandling$$anonfun$validateChanges$1.apply(ChangesHandling.scala:21)
at com.mendix.webui.requesthandling.ChangesHandling$$anonfun$validateChanges$1.apply(ChangesHandling.scala:17)
at scala.Option.map(Option.scala:146)
at com.mendix.webui.requesthandling.ChangesHandling$.validateChanges(ChangesHandling.scala:17)
at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:307)
at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:302)
at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:302)
at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:143)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:145)
at scala.util.Try$.apply(Try.scala:192)
at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:139)
at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:135)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
at akka.dispatch.Mailbox.run(Mailbox.scala:220)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
I really hope someone knows what's going wrong.
Thanks in advance,
Niels van Marion