ProcessQueue cant get over missing QueuedAction

0
The ProcessQueue in our app decided at random to fail every minute trying to start queued actions, throwing the stacktrace below. It wants to commit a QueuedAction with a certain guid, which apparently doesn’t exist anymore and obviously doesn’t miraculously spawn out of nowhere, so no need to try and find it every minute. How to make ProcessQueue find it’s peace with the missing QueuedAction, so it continues to execute the ones that exist? Edit: extra info: reinitializing queues/threads didn’t help restart application didn’t help. Same error, albeit with a different guid   9:32:44 AMappINFOException in thread "Thread-1016" com.mendix.core.CoreRuntimeException: Failed to commit 9:32:44 AMappINFOat com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:151) 9:32:44 AMappINFOCaused 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.basis.connectionbus.ConnectionBusException: com.mendix.systemwideinterfaces.core.UserException: Object of type 'ProcessQueue.QueuedAction' with guid '239816680157507852' cannot be updated, as it does not exist anymore 9:32:44 AMappINFOat com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:123) 9:32:44 AMappINFOCaused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.basis.connectionbus.ConnectionBusException: com.mendix.systemwideinterfaces.core.UserException: Object of type 'ProcessQueue.QueuedAction' with guid '239816680157507852' cannot be updated, as it does not exist anymore 9:32:44 AMappINFOat com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:156) 9:32:44 AMappINFOCaused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.basis.connectionbus.ConnectionBusException: com.mendix.systemwideinterfaces.core.UserException: Object of type 'ProcessQueue.QueuedAction' with guid '239816680157507852' cannot be updated, as it does not exist anymore 9:32:44 AMappINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) 9:32:44 AMappINFOCaused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.basis.connectionbus.ConnectionBusException: com.mendix.systemwideinterfaces.core.UserException: Object of type 'ProcessQueue.QueuedAction' with guid '239816680157507852' cannot be updated, as it does not exist anymore 9:32:44 AMappINFOat com.mendix.basis.actionmanagement.SyncEventExtendedAction.executeAction(SyncEventExtendedAction.java:45) 9:32:44 AMappINFOCaused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.basis.connectionbus.ConnectionBusException: com.mendix.systemwideinterfaces.core.UserException: Object of type 'ProcessQueue.QueuedAction' with guid '239816680157507852' cannot be updated, as it does not exist anymore 9:32:44 AMappINFOat com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:156) 9:32:44 AMappINFOCaused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.basis.connectionbus.ConnectionBusException: com.mendix.systemwideinterfaces.core.UserException: Object of type 'ProcessQueue.QueuedAction' with guid '239816680157507852' cannot be updated, as it does not exist anymore 9:32:44 AMappINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) 9:32:44 AMappINFOCaused by: com.mendix.basis.connectionbus.ConnectionBusException: com.mendix.systemwideinterfaces.core.UserException: Object of type 'ProcessQueue.QueuedAction' with guid '239816680157507852' cannot be updated, as it does not exist anymore 9:32:44 AMappINFOat com.mendix.connectionbus.connections.jdbc.JdbcDataStoreBase.throwConnectionBusException$1(JdbcDataStoreBase.scala:461) 9:32:44 AMappINFOCaused by: com.mendix.systemwideinterfaces.core.UserException: Object of type 'ProcessQueue.QueuedAction' with guid '239816680157507852' cannot be updated, as it does not exist anymore  
asked
1 answers
1

Did you try to reinitialize the queue?

Every queue is a threadpool. But reinitializing it may not force the threads to terminate. The ultimate solution may be to restart your application. That causes the threadpools to be recreated and only filled with the actions that are existing in DB

answered