{"record":{"id":"fa31aa2dfa4b12ce","repo":"flowable/flowable-engine","slug":"could-not-determine-the-current-status-of-the-tran","errorCode":null,"errorMessage":"Could not determine the current status of the transaction manager: ","messagePattern":"Could not determine the current status of the transaction manager: ","errorType":"exception","errorClass":"FlowableException","httpStatus":null,"severity":"error","filePath":"modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/interceptor/JtaRetryInterceptor.java","lineNumber":52,"sourceCode":"    public JtaRetryInterceptor(TransactionManager transactionManager) {\n        this.transactionManager = transactionManager;\n    }\n\n    @Override\n    public <T> T execute(CommandConfig config, Command<T> command, CommandExecutor commandExecutor) {\n        if (calledInsideTransaction()) {\n            LOGGER.trace(\"Called inside transaction, skipping the retry interceptor.\");\n            return next.execute(config, command, commandExecutor);\n        } else {\n            return super.execute(config, command, commandExecutor);\n        }\n    }\n\n    protected boolean calledInsideTransaction() {\n        try {\n            return transactionManager.getStatus() != Status.STATUS_NO_TRANSACTION;\n        } catch (SystemException e) {\n            throw new FlowableException(\"Could not determine the current status of the transaction manager: \" + e.getMessage(), e);\n        }\n    }\n\n}\n","sourceCodeStart":34,"sourceCodeEnd":57,"githubUrl":"https://github.com/flowable/flowable-engine/blob/d6d39ce1c69ff244f2d9dc6af756a9b95e865586/modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/interceptor/JtaRetryInterceptor.java#L34-L57","documentation":"Wrapper thrown by JtaRetryInterceptor.calledInsideTransaction: querying the JTA TransactionManager for the current transaction status raised SystemException, so the interceptor cannot decide whether retry logic applies.","triggerScenarios":"Thrown at modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/interceptor/JtaRetryInterceptor.java:52 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the JTA TransactionManager is correctly configured and reachable","Check application-server transaction service health and the cause of the SystemException"],"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"}