{"record":{"id":"8de2a22110c867f8","repo":"flowable/flowable-engine","slug":"unable-to-resume-transaction","errorCode":null,"errorMessage":"Unable to resume transaction","messagePattern":"Unable to resume transaction","errorType":"exception","errorClass":"TransactionException","httpStatus":null,"severity":"error","filePath":"modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/interceptor/JtaTransactionInterceptor.java","lineNumber":112,"sourceCode":"        } catch (SystemException e) {\n            throw new TransactionException(\"Unable to retrieve transaction status\", e);\n        }\n    }\n\n    private Transaction doSuspend() {\n        try {\n            return transactionManager.suspend();\n        } catch (SystemException e) {\n            throw new TransactionException(\"Unable to suspend transaction\", e);\n        }\n    }\n\n    private void doResume(Transaction tx) {\n        if (tx != null) {\n            try {\n                transactionManager.resume(tx);\n            } catch (SystemException | InvalidTransactionException e) {\n                throw new TransactionException(\"Unable to resume transaction\", e);\n            }\n        }\n    }\n\n    private void doCommit() {\n        try {\n            transactionManager.commit();\n        } catch (HeuristicMixedException | SystemException | RollbackException | HeuristicRollbackException e) {\n            throw new TransactionException(\"Unable to commit transaction\", e);\n        } catch (RuntimeException | Error e) {\n            doRollback(true, e);\n            throw e;\n        }\n    }\n\n    private void doRollback(boolean isNew, Throwable originalException) {\n        Throwable rollbackEx = null;\n        try {","sourceCodeStart":94,"sourceCodeEnd":130,"githubUrl":"https://github.com/flowable/flowable-engine/blob/d6d39ce1c69ff244f2d9dc6af756a9b95e865586/modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/interceptor/JtaTransactionInterceptor.java#L94-L130","documentation":"Infrastructure failure in JtaTransactionInterceptor.doResume: transactionManager.resume(tx) threw SystemException or InvalidTransactionException while restoring a previously suspended transaction after command execution. A JTA environment/runtime failure surfaced as TransactionException.","triggerScenarios":"Thrown at modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/interceptor/JtaTransactionInterceptor.java:112 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the cause for transaction timeout/invalid-state details","Review requiresNew usage that triggers suspend/resume cycles"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d6d39ce1c69ff244f2d9dc6af756a9b95e865586","analyzedAt":"2026-09-11T06:41:19.413Z","contentChangedAt":"2026-09-11T06:41:19.413Z","schemaVersion":2},"datasetVersion":"2026-09-18T11:17:12.947Z"}