How to resolve occasional AuditTrail timeout problem?

1
Using the mendix appstore AuditTrail (https://appstore.home.mendix.com/link/app/138/) and sometimes getting a root-cause “Futures Timeout”  (see stack trace below) An error has occurred while handling the request. [User 'CTNAdmin' with session id 'd6049baf-XXXX-XXXX-XXXX-XXXXXXXXf190' and roles 'Administrator'] com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: Failed to commit               at CTN.SaveCallAction (Change : 'Change 'CTNCase' (NextCallDate)')   Advanced stacktrace:               at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389)   Caused by: com.mendix.modules.microflowengine.MicroflowException: Failed to commit               at CTN.SaveCallAction (Change : 'Change 'CTNCase' (NextCallDate)')   Advanced stacktrace:               at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:146)   Caused by: com.mendix.core.CoreRuntimeException: Failed to commit               at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:155)   Caused by: com.mendix.core.CoreRuntimeException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"entityName":"AuditTrail.Configuration","type":"CreateAction"}', all database changes executed by this action were rolled back               at AuditTrail.BCo_AudittrailSuperClass (JavaAction : 'CreateLogRecordOfObject')               at {"before":[{},{},{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"}               at CTN.SaveCallAction (Change : 'Change 'CTNCase' (NextCallDate)')   Advanced stacktrace:               at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:125)   Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"entityName":"AuditTrail.Configuration","type":"CreateAction"}', all database changes executed by this action were rolled back               at AuditTrail.BCo_AudittrailSuperClass (JavaAction : 'CreateLogRecordOfObject')               at {"before":[{},{},{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"}               at CTN.SaveCallAction (Change : 'Change 'CTNCase' (NextCallDate)')   Advanced stacktrace:               at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:146)   Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"entityName":"AuditTrail.Configuration","type":"CreateAction"}', all database changes executed by this action were rolled back               at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:418)   Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"entityName":"AuditTrail.Configuration","type":"CreateAction"}', all database changes executed by this action were rolled back               at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159)   Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"entityName":"AuditTrail.Configuration","type":"CreateAction"}', 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: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"entityName":"AuditTrail.Configuration","type":"CreateAction"}', all database changes executed by this action were rolled back               at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:125)   Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"entityName":"AuditTrail.Configuration","type":"CreateAction"}', all database changes executed by this action were rolled back               at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159)   Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"entityName":"AuditTrail.Configuration","type":"CreateAction"}', 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 '{"entityName":"AuditTrail.Configuration","type":"CreateAction"}', all database changes executed by this action were rolled back               at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.processErrorState(CoreActionHandlerImpl.scala:160)   Caused by: java.util.concurrent.TimeoutException: Futures timed out after [5000 milliseconds]               at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:259)               at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:187)               at scala.concurrent.Await$.$anonfun$ready$1(package.scala:195)               at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:57)
asked
0 answers