Excel Exporter:25000+ records export

0
Hi, I have a question about exporting so many records on excel. When I export 20~5000 records, I successfully download excel file. However, when I export more than 25000 records, an error is occurred. this is the error log. 2021-01-19 18:12:49.608 WARNING - Core: Failed to remove session '116c6600-afbf-4f48-96c4-68ed9a85f2a0' for user 'MxAdmin' because actions are still running for this session. Client access has been disabled. Session will be attempted to be removed again in 300 seconds. 2021-01-19 18:17:49.672 WARNING - Core: Failed to remove session '116c6600-afbf-4f48-96c4-68ed9a85f2a0' for user 'MxAdmin' because actions are still running for this session. Client access has been disabled. Session will be attempted to be removed again in 300 seconds. 2021-01-19 18:19:18.616 ERROR - Connector: An error has occurred while handling the request. [User 'MxAdmin' with session id 'ef3bdee8-XXXX-XXXX-XXXX-XXXXXXXX8593' and roles 'Administrator'] 2021-01-19 18:19:18.616 ERROR - Connector: com.mendix.modules.microflowengine.MicroflowException: Failed to commit at MyFirstModule.Download_TestUploadandDownload (Commit : 'Commit 'TestUploadandDownload' ') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:154) Caused by: com.mendix.core.CoreRuntimeException: Failed to commit at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:151) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.datastorage.exception.UpdateConflictException at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:123) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.datastorage.exception.UpdateConflictException at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:156) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.datastorage.exception.UpdateConflictException at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:30) Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.datastorage.exception.UpdateConflictException at com.mendix.basis.actionmanagement.SyncEventExtendedAction.executeAction(SyncEventExtendedAction.java:45) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.datastorage.exception.UpdateConflictException at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:156) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.datastorage.exception.UpdateConflictException at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:30) Caused by: com.mendix.datastorage.exception.UpdateConflictException: null at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.withPreparedStatement(JdbcDataStoreBase.scala:587) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$execModificationQueries$1(JdbcDataStoreBase.scala:333) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$execModificationQueries$1$adapted(JdbcDataStoreBase.scala:333) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase$$Lambda$1731/000000000000000000.apply(Unknown Source) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$executeWithUcViolationHandling$1(JdbcDataStoreBase.scala:501) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase$$Lambda$1733/000000000000000000.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at scala.util.Try$.apply(Try.scala:210) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.executeWithUcViolationHandling(JdbcDataStoreBase.scala:501) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.doModificationQueries$1(JdbcDataStoreBase.scala:336) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.execModificationQueries(JdbcDataStoreBase.scala:346) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.execDeleteQueries(JdbcDataStoreBase.scala:295) at com.mendix.connectionbus.connections.jdbc.JdbcDataStore.store(JdbcDataStore.java:478) at com.mendix.connectionbus.store.EntityStorer.storeDataSetInstance(EntityStorer.java:260) at com.mendix.connectionbus.store.EntityStorer.handleUpdateRequest(EntityStorer.java:225) at com.mendix.connectionbus.store.EntityStorer.handleRequest(EntityStorer.java:154) at com.mendix.connectionbus.store.EntityStorer.store(EntityStorer.java:78) at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:77) at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:517) at com.mendix.basis.action.user.CommitAction.commit(CommitAction.scala:135) at com.mendix.basis.action.user.CommitAction.$anonfun$commitPersistableObjects$3(CommitAction.scala:96) at com.mendix.basis.action.user.CommitAction$$Lambda$1723/000000000000000000.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at scala.util.Try$.apply(Try.scala:210) at com.mendix.basis.action.user.CommitAction.commitPersistableObjects(CommitAction.scala:96) at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:61) at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:31) 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.actionmanagement.SyncEventExtendedAction.executeAction(SyncEventExtendedAction.java:43) at com.mendix.basis.actionmanagement.EventExtendedAction.execute(EventExtendedAction.java:101) 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:150) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152) at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:116) at com.mendix.basis.component.CommitHandler.$anonfun$storeObjectsAndAutoCommittedObjects$1(CommitHandler.scala:189) at com.mendix.basis.component.CommitHandler$$Lambda$1712/000000000000000000.apply(Unknown Source) at scala.collection.immutable.List.map(List.scala:250) at scala.collection.immutable.List.map(List.scala:79) at com.mendix.basis.component.CommitHandler.storeObjectsAndAutoCommittedObjects(CommitHandler.scala:187) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:125) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:109) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:48) at com.mendix.basis.component.CommitHandler.commitWithEvents(CommitHandler.scala:69) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:49) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:48) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:48) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:25) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:25) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:48) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:32) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:16) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:32) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject$$Lambda$1796/000000000000000000.apply(Unknown Source) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:29) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAfterBreakingIfNecessary$2(MicroflowImpl.scala:174) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl$$Lambda$1794/000000000000000000.apply(Unknown Source) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:174) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:121) 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.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:40) at com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:76) at com.mendix.webui.actions.client.ExecuteMicroflowAction.$anonfun$apply$3(ExecuteMicroflowAction.scala:42) at com.mendix.webui.actions.client.ExecuteMicroflowAction$$Lambda$2756/000000000000000000.apply(Unknown Source) at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:29) at com.mendix.webui.actions.client.RegularClientAction$Helpers$$$Lambda$2040/000000000000000000.apply(Unknown Source) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:55) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler$$Lambda$2566/000000000000000000.apply(Unknown Source) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:35) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:32) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:45) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:53) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:45) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:43) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:22) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:109) at com.mendix.webui.actions.client.RegularClientAction$$Lambda$2562/000000000000000000.apply(Unknown Source) at scala.util.Try$.apply(Try.scala:210) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:109) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:107) at com.mendix.webui.actions.client.RegularClientAction$$Lambda$2560/000000000000000000.apply(Unknown Source) at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$5(ContextHandling.scala:47) at com.mendix.webui.requesthandling.helpers.ContextHandling$$Lambda$2266/000000000000000000.apply$mcV$sp(Unknown Source) 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.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) 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.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:107) at com.mendix.webui.actions.client.RegularClientAction$$Lambda$2559/000000000000000000.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 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.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:86) at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:104) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:104) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:81) 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:953) 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:763) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284) 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:501) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel$$Lambda$457/000000000000000000.dispatch(Unknown Source) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.base/java.lang.Thread.run(Thread.java:836) Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 84) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262) at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1632) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:600) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:522) at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7225) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:3053) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:247) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:222) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(SQLServerPreparedStatement.java:471) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:136) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:136) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.doModification(JdbcDataStoreBase.scala:372) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.doDelete(JdbcDataStoreBase.scala:319) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$execDeleteQueries$2(JdbcDataStoreBase.scala:295) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$execDeleteQueries$2$adapted(JdbcDataStoreBase.scala:295) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase$$Lambda$2137/000000000000000000.apply(Unknown Source) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$execModificationQueries$2(JdbcDataStoreBase.scala:334) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$execModificationQueries$2$adapted(JdbcDataStoreBase.scala:334) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase$$Lambda$1732/000000000000000000.apply(Unknown Source) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$executeWithUcViolationHandling$2(JdbcDataStoreBase.scala:501) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$executeWithUcViolationHandling$2$adapted(JdbcDataStoreBase.scala:501) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase$$Lambda$1734/000000000000000000.apply(Unknown Source) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.withPreparedStatement(JdbcDataStoreBase.scala:568) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$execModificationQueries$1(JdbcDataStoreBase.scala:333) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$execModificationQueries$1$adapted(JdbcDataStoreBase.scala:333) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase$$Lambda$1731/000000000000000000.apply(Unknown Source) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.$anonfun$executeWithUcViolationHandling$1(JdbcDataStoreBase.scala:501) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase$$Lambda$1733/000000000000000000.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at scala.util.Try$.apply(Try.scala:210) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.executeWithUcViolationHandling(JdbcDataStoreBase.scala:501) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.doModificationQueries$1(JdbcDataStoreBase.scala:336) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.execModificationQueries(JdbcDataStoreBase.scala:346) at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.execDeleteQueries(JdbcDataStoreBase.scala:295) at com.mendix.connectionbus.connections.jdbc.JdbcDataStore.store(JdbcDataStore.java:478) at com.mendix.connectionbus.store.EntityStorer.storeDataSetInstance(EntityStorer.java:260) at com.mendix.connectionbus.store.EntityStorer.handleUpdateRequest(EntityStorer.java:225) at com.mendix.connectionbus.store.EntityStorer.handleRequest(EntityStorer.java:154) at com.mendix.connectionbus.store.EntityStorer.store(EntityStorer.java:78) at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:77) at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:517) at com.mendix.basis.action.user.CommitAction.commit(CommitAction.scala:135) at com.mendix.basis.action.user.CommitAction.$anonfun$commitPersistableObjects$3(CommitAction.scala:96) at com.mendix.basis.action.user.CommitAction$$Lambda$1723/000000000000000000.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at scala.util.Try$.apply(Try.scala:210) at com.mendix.basis.action.user.CommitAction.commitPersistableObjects(CommitAction.scala:96) at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:61) at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:31) 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.actionmanagement.SyncEventExtendedAction.executeAction(SyncEventExtendedAction.java:43) at com.mendix.basis.actionmanagement.EventExtendedAction.execute(EventExtendedAction.java:101) 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:150) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152) at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:116) at com.mendix.basis.component.CommitHandler.$anonfun$storeObjectsAndAutoCommittedObjects$1(CommitHandler.scala:189) at com.mendix.basis.component.CommitHandler$$Lambda$1712/000000000000000000.apply(Unknown Source) at scala.collection.immutable.List.map(List.scala:250) at scala.collection.immutable.List.map(List.scala:79) at com.mendix.basis.component.CommitHandler.storeObjectsAndAutoCommittedObjects(CommitHandler.scala:187) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:125) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:109) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:48) at com.mendix.basis.component.CommitHandler.commitWithEvents(CommitHandler.scala:69) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:49) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:48) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:48) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:25) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:25) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:48) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:32) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:16) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:32) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject$$Lambda$1796/000000000000000000.apply(Unknown Source) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:29) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAfterBreakingIfNecessary$2(MicroflowImpl.scala:174) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl$$Lambda$1794/000000000000000000.apply(Unknown Source) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:174) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:121) 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.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:40) at com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:76) at com.mendix.webui.actions.client.ExecuteMicroflowAction.$anonfun$apply$3(ExecuteMicroflowAction.scala:42) at com.mendix.webui.actions.client.ExecuteMicroflowAction$$Lambda$2756/000000000000000000.apply(Unknown Source) at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:29) at com.mendix.webui.actions.client.RegularClientAction$Helpers$$$Lambda$2040/000000000000000000.apply(Unknown Source) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:55) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler$$Lambda$2566/000000000000000000.apply(Unknown Source) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:35) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:32) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:45) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:53) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:45) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:43) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:22) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:109) at com.mendix.webui.actions.client.RegularClientAction$$Lambda$2562/000000000000000000.apply(Unknown Source) at scala.util.Try$.apply(Try.scala:210) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:109) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:107) at com.mendix.webui.actions.client.RegularClientAction$$Lambda$2560/000000000000000000.apply(Unknown Source) at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$5(ContextHandling.scala:47) at com.mendix.webui.requesthandling.helpers.ContextHandling$$Lambda$2266/000000000000000000.apply$mcV$sp(Unknown Source) 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.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) 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.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:107) at com.mendix.webui.actions.client.RegularClientAction$$Lambda$2559/000000000000000000.apply$mcV$sp(Unknown Source) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 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.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:86) at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:104) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:104) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:81) 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:953) 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:763) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284) 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:501) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel$$Lambda$457/000000000000000000.dispatch(Unknown Source) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.base/java.lang.Thread.run(Thread.java:836) 【Environment】 ・Azure VM(Windows Server 2019)  -Mendix Onprmise:ver8.14  -IIS:ver10 ・Azure SQL Database   I would appreciate if you could tell me the causes or solutions of this. Thank you in advance!
asked
4 answers
0

It looks to me that during the action, your session expires, but since the system is still busy it fails to remove the session.
Since the session is connected to your user, it seems that you loose the rights of your user, and that way entity access for the administrator is no longer valid.
Perhaps increasing the session lifetime might solve this issue.

answered
0

It could also be this bug that has been fixed in Mx8.12:

We fixed an issue that caused session keep alive to become defunct if a database connection became stale. (Ticket 102373)

Because imho yoiur session should not be destroyed since the microflow is still active.

So you might want to test if the same behaviour occurs in Mx8.12.

Regards,

Ronald

 

answered
0

I think David is correct, the session is timing out before the microflow completes.

A solution would be to move the microflow to the background using something like the ProcessQueue or Queue modules. The long running microflow would then run in the background while quickly returning control back to the user. You would need to save the results of the microflow to storage when complete, and have the front end poll to check if this exists. If it does, then they can download it. Alternatively, email a link to download it when it’s completed.

Hope this helps. 

answered
0

As I was checking the live logs in our application, I saw the same error “UpdateConflictException” for a delete action in our application running 8.12.5. Is the issue still occurring Taiga?

answered