Calendar with scheduler error

1
Hi, I’m trying to put a start date in a calendar with scheduler, but when I do it I can’t interact with the calendar and it shows me an error in the console.     This is the error that show:   An error has occurred while handling the request. [User 'evaluador' with session id '7b7423d1-XXXX-XXXX-XXXX-XXXXXXXX9485' and roles 'Evaluador'] -------- com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"Map(FechaFin -> 1610064000000, PortalEmpleado.Vacaciones_Account -> 44191571343573596, FechaInicio -> 1609804800000, AllDay -> false)","type":"ChangeAction"}', all database changes executed by this action were rolled back     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:156) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"Map(FechaFin -> 1610064000000, PortalEmpleado.Vacaciones_Account -> 44191571343573596, FechaInicio -> 1609804800000, AllDay -> false)","type":"ChangeAction"}', all database changes executed by this action were rolled back     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:30) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"Map(FechaFin -> 1610064000000, PortalEmpleado.Vacaciones_Account -> 44191571343573596, FechaInicio -> 1609804800000, AllDay -> false)","type":"ChangeAction"}', all database changes executed by this action were rolled back     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.processErrorState(CoreActionHandlerImpl.scala:151) Caused by: java.lang.IllegalArgumentException: requirement failed: Reference 'PortalEmpleado.Vacaciones_Account' only accepts ids of type 'Administration.Account' (Id '[MendixIdentifier:: id=44191571343573596 objectType=PortalEmpleado.VacacionesFechas entityID=157]' is not allowed).     at scala.Predef$.require(Predef.scala:338)     at com.mendix.basis.objectmanagement.member.MendixObjectReferenceImpl.setValue(MendixObjectReferenceImpl.scala:38)     at com.mendix.basis.objectmanagement.member.MendixObjectReferenceImpl.setValue(MendixObjectReferenceImpl.scala:16)     at com.mendix.basis.objectmanagement.MendixObjectMemberImpl.parseValueFromString(MendixObjectMemberImpl.java:272)     at com.mendix.basis.action.user.Changer.setMemberValue(Changer.scala:96)     at com.mendix.basis.action.user.Changer.setMemberValue$(Changer.scala:85)     at com.mendix.basis.action.user.ChangeAction.setMemberValue(ChangeAction.scala:9)     at com.mendix.basis.action.user.Changer.changeMember(Changer.scala:68)     at com.mendix.basis.action.user.Changer.$anonfun$changeMembers$5(Changer.scala:42)     at com.mendix.basis.action.user.Changer.$anonfun$changeMembers$5$adapted(Changer.scala:42)     at scala.collection.immutable.List.foreach(List.scala:333)     at com.mendix.basis.action.user.Changer.changeMembers(Changer.scala:42)     at com.mendix.basis.action.user.Changer.changeMembers$(Changer.scala:32)     at com.mendix.basis.action.user.ChangeAction.changeMembers(ChangeAction.scala:9)     at com.mendix.basis.action.user.Changer.changeMembers(Changer.scala:30)     at com.mendix.basis.action.user.Changer.changeMembers$(Changer.scala:25)     at com.mendix.basis.action.user.ChangeAction.changeMembers(ChangeAction.scala:9)     at com.mendix.basis.action.user.ChangeAction.executeAction(ChangeAction.scala:17)     at com.mendix.basis.action.user.ChangeAction.executeAction(ChangeAction.scala:9)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152)     at com.mendix.basis.component.InternalCore.change(InternalCore.scala:209)     at com.mendix.webui.requesthandling.helpers.StateHandling.$anonfun$addChangesToState$6(StateHandling.scala:161)     at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.scala:17)     at scala.util.Try$.apply(Try.scala:210)     at com.mendix.webui.requesthandling.helpers.StateHandling.$anonfun$addChangesToState$2(StateHandling.scala:161)     at com.mendix.webui.requesthandling.helpers.StateHandling.$anonfun$addChangesToState$2$adapted(StateHandling.scala:142)     at scala.collection.immutable.List.foreach(List.scala:333)     at com.mendix.webui.requesthandling.helpers.StateHandling.addChangesToState(StateHandling.scala:142)     at com.mendix.webui.requesthandling.helpers.StateHandling.initializeState(StateHandling.scala:61)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:36)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:34)     at com.mendix.webui.requesthandling.ClientRequestHandler.withState(ClientRequestHandler.scala:28)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:31)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:24)     at com.mendix.webui.requesthandling.ClientRequestHandler.withState(ClientRequestHandler.scala:28)     at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$1(ClientRequestHandler.scala:165)     at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$1$adapted(ClientRequestHandler.scala:151)     at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$5(ContextHandling.scala:47)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)     at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26)     at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49)     at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25)     at com.mendix.webui.requesthandling.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:59)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:47)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27)     at com.mendix.webui.requesthandling.ClientRequestHandler.inContext(ClientRequestHandler.scala:28)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:24)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:19)     at com.mendix.webui.requesthandling.ClientRequestHandler.inContext(ClientRequestHandler.scala:28)     at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:151)     at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleAction$1(ClientRequestHandler.scala:122)     at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14)     at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10)     at com.mendix.webui.requesthandling.ClientRequestHandler.profileRequest(ClientRequestHandler.scala:28)     at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:122)     at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:82)     at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:46)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26)     at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:79)     at com.mendix.basis.impl.MxRuntimeImplBase.processRequest(MxRuntimeImplBase.java:857)     at com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.java:42)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)     at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)     at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)     at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)     at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)     at org.eclipse.jetty.server.Server.handle(Server.java:516)     at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)     at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)     at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)     at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)     at java.base/java.lang.Thread.run(Thread.java:834)  
asked
1 answers
0

But how did you create Vacaciones ? Does this object exists and does it have a reference with account? I would double check that.

Regards,

Ronald

 

answered