An error has occurred while handling the request.

-1
I want commit form, and then alert error: An error has occurred while handling the request. [User 'manager' with session id '57d17776-c296-4379-ae47-d3c2eda6eef1' and roles 'Manager'] But Mendix Modeler not errors. the Console is: Log node : Connector Message: An error has occurred while handling the request. [User 'manager' with session id '57d17776-c296-4379-ae47-d3c2eda6eef1' and roles 'Manager'] Stack trace: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"{Name=测试, ManageCourse.CourseCourseTypeLevelOne=2533274790395906, ManageCourse.CourseCourseTypeLevelTwo=3940649673949185, Crowd=多少, Introduce=测试}","type":"ChangeAction"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"{Name=测试, ManageCourse.CourseCourseTypeLevelOne=2533274790395906, ManageCourse.CourseCourseTypeLevelTwo=3940649673949185, Crowd=多少, Introduce=测试}","type":"ChangeAction"}', all database changes executed by this action were rolled back at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"{Name=测试, ManageCourse.CourseCourseTypeLevelOne=2533274790395906, ManageCourse.CourseCourseTypeLevelTwo=3940649673949185, Crowd=多少, Introduce=测试}","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.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.String at java.lang.String.compareTo(String.java:111) at com.mendix.core.objectmanagement.meta.datavalidation.RangeValidation.isSmallerThan(RangeValidation.java:149) at com.mendix.core.objectmanagement.meta.datavalidation.RangeValidation.isValid(RangeValidation.java:101) 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.HashSet$HashSet1.foreach(HashSet.scala:322) at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:978) 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:34) 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:32) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174) at com.mendix.core.component.InternalCore.change(InternalCore.java:116) at com.mendix.webui.actions.client.ChangeAction.execute(ChangeAction.scala:30) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:324) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:317) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:317) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:144) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:146) at scala.util.Try$.apply(Try.scala:192) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:140) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136) 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)
asked
1 answers
0

Do you have any validations defined on entity level? If yes, does the error still persist if you remove the validations?

answered