on 2025 Mar 13 2:06 AM
I'm recently having an issue when deploying our MTA CAP project. db-deployer is throwing an error `Cannot read properties of undefined (reading 'digest')`
Any subsequent deployments from fresh fails. So what I've been doing right now is to manually delete the hana (SAP HANA Schemas & HDI Containers) instance and just rerun the deployment to a fresh state. I obviously do not want to have to do this every time since we are using CI/CD. This issue has only been happening recently. I first I thought it was something introduced in the code, but I did a commit revert on the last commit that didn't have an error during deployment, but I still got the same error when it attempted to deploy.
Running cf dmol, I get these errors from the logs:
OPERATION.log
org.cloudfoundry.multiapps.common.SLException: A step of the process has failed. Retrying it may solve the issue.
at org.cloudfoundry.multiapps.controller.process.steps.SyncFlowableStep.executeInternal(SyncFlowableStep.java:78) ~[multiapps-controller-process-1.185.1.jar:?]
at org.cloudfoundry.multiapps.controller.process.steps.SyncFlowableStep.lambda$execute$0(SyncFlowableStep.java:66) ~[multiapps-controller-process-1.185.1.jar:?]
at org.cloudfoundry.multiapps.controller.core.util.LoggingUtil.logWithCorrelationId(LoggingUtil.java:14) ~[multiapps-controller-core-1.185.1.jar:?]
at org.cloudfoundry.multiapps.controller.process.steps.SyncFlowableStep.execute(SyncFlowableStep.java:66) ~[multiapps-controller-process-1.185.1.jar:?]
at org.flowable.engine.impl.delegate.invocation.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:35) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.delegate.invocation.DelegateInvocation.proceed(DelegateInvocation.java:32) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.delegate.invocation.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:26) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:161) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:298) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeSynchronous(ContinueProcessOperation.java:175) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode(ContinueProcessOperation.java:125) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.agenda.ContinueProcessOperation.run(ContinueProcessOperation.java:88) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.common.engine.impl.AbstractEngineConfiguration.lambda$new$0(AbstractEngineConfiguration.java:195) ~[flowable-engine-common-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:130) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:114) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:72) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.engine.impl.interceptor.BpmnOverrideContextInterceptor.execute(BpmnOverrideContextInterceptor.java:26) ~[flowable-engine-6.8.0.jar:6.8.0]
at org.flowable.common.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:53) ~[flowable-engine-common-6.8.0.jar:6.8.0]
at org.flowable.common.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:105) ~[flowable-engine-common-6.8.0.jar:6.8.0]
at org.flowable.common.spring.SpringTransactionInterceptor.lambda$execute$0(SpringTransactionInterceptor.java:57) ~[flowable-spring-common-6.8.0.jar:6.8.0]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) [spring-tx-6.2.0.jar:6.2.0]
at org.flowable.common.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:57) [flowable-spring-common-6.8.0.jar:6.8.0]
at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) [flowable-engine-common-6.8.0.jar:6.8.0]
at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56) [flowable-engine-common-6.8.0.jar:6.8.0]
at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51) [flowable-engine-common-6.8.0.jar:6.8.0]
at org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnable.executeJob(ExecuteAsyncRunnable.java:127) [flowable-job-service-6.8.0.jar:6.8.0]
at org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnable.run(ExecuteAsyncRunnable.java:115) [flowable-job-service-6.8.0.jar:6.8.0]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
**-db-deployer.log
[PollExecuteTaskStatusExecution] 3b36d202-25e9-454f-bca2-d89c2cb54689 [2025-03-13T01:35:01.486864] Deployment to container 65B0190AD9A74A4B812F2736024074A0 failed - error: Cannot read properties of undefined (reading 'digest') [Deployment ID: none]. (STDERR, APP/TASK/deploy)#
#2025 03 13 01:35:26.477#Z#DEBUG#3cc6b31f-ffab-11ef-822b-eeee0a8e7f89.rr-db-deployer#flowable-async-job-executor-thread-3549#
[PollExecuteTaskStatusExecution] 3b36d202-25e9-454f-bca2-d89c2cb54689 [2025-03-13T01:35:01.487491] Error: Cannot read properties of undefined (reading 'digest') (STDERR, APP/TASK/deploy)#
#2025 03 13 01:35:26.477#Z#DEBUG#3cc6b31f-ffab-11ef-822b-eeee0a8e7f89.rr-db-deployer#flowable-async-job-executor-thread-3549#
[PollExecuteTaskStatusExecution] 3b36d202-25e9-454f-bca2-d89c2cb54689 [2025-03-13T01:35:01.487492] Deployment ended at 2025-03-13 01:35:01 (STDOUT, APP/TASK/deploy)#
#2025 03 13 01:35:26.477#Z#DEBUG#3cc6b31f-ffab-11ef-822b-eeee0a8e7f89.rr-db-deployer#flowable-async-job-executor-thread-3549#
[PollExecuteTaskStatusExecution] 3b36d202-25e9-454f-bca2-d89c2cb54689 [2025-03-13T01:35:01.487907] (0s 852ms) (STDOUT, APP/TASK/deploy)#
#2025 03 13 01:35:26.477#Z#DEBUG#3cc6b31f-ffab-11ef-822b-eeee0a8e7f89.rr-db-deployer#flowable-async-job-executor-thread-3549#
[PollExecuteTaskStatusExecution] 3b36d202-25e9-454f-bca2-d89c2cb54689 [2025-03-13T01:35:01.497917] npm notice (STDERR, APP/TASK/deploy)#
#2025 03 13 01:35:26.477#Z#DEBUG#3cc6b31f-ffab-11ef-822b-eeee0a8e7f89.rr-db-deployer#flowable-async-job-executor-thread-3549#
[PollExecuteTaskStatusExecution] 3b36d202-25e9-454f-bca2-d89c2cb54689 [2025-03-13T01:35:01.497932] npm notice New major version of npm available! 10.8.2 -> 11.2.0 (STDERR, APP/TASK/deploy)#
#2025 03 13 01:35:26.477#Z#DEBUG#3cc6b31f-ffab-11ef-822b-eeee0a8e7f89.rr-db-deployer#flowable-async-job-executor-thread-3549#
[PollExecuteTaskStatusExecution] 3b36d202-25e9-454f-bca2-d89c2cb54689 [2025-03-13T01:35:01.497948] npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.2.0 (STDERR, APP/TASK/deploy)#
#2025 03 13 01:35:26.477#Z#DEBUG#3cc6b31f-ffab-11ef-822b-eeee0a8e7f89.rr-db-deployer#flowable-async-job-executor-thread-3549#
[PollExecuteTaskStatusExecution] 3b36d202-25e9-454f-bca2-d89c2cb54689 [2025-03-13T01:35:01.497950] npm notice To update run: npm install -g npm@11.2.0 (STDERR, APP/TASK/deploy)#
#2025 03 13 01:35:26.477#Z#DEBUG#3cc6b31f-ffab-11ef-822b-eeee0a8e7f89.rr-db-deployer#flowable-async-job-executor-thread-3549#
[PollExecuteTaskStatusExecution] 3b36d202-25e9-454f-bca2-d89c2cb54689 [2025-03-13T01:35:01.497952] npm notice (STDERR, APP/TASK/deploy)#
Here's a snippet from the pipeline logs:
Application "rr-db-deployer" staged
Executing task "deploy" on application "rr-db-deployer"...
Started async upload of application "rr-srv"
Execution of task "deploy" on application "rr-db-deployer" failed.
Download the application logs via the dmol command and check them for more information.
A step of the process has failed. Retrying it may solve the issue.
Stopping application "rr-srv"...
Staging application "rr-srv"...
Proceeding with automatic retry... (3 of 3 attempts left)
Executing task "deploy" on application "rr-db-deployer"...
Execution of task "deploy" on application "rr-db-deployer" failed.
Download the application logs via the dmol command and check them for more information.
A step of the process has failed. Retrying it may solve the issue.
Proceeding with automatic retry... (2 of 3 attempts left)
Executing task "deploy" on application "rr-db-deployer"...
Execution of task "deploy" on application "rr-db-deployer" failed.
Download the application logs via the dmol command and check them for more information.
A step of the process has failed. Retrying it may solve the issue.
Proceeding with automatic retry... (1 of 3 attempts left)
Executing task "deploy" on application "rr-db-deployer"...
Execution of task "deploy" on application "rr-db-deployer" failed.
Download the application logs via the dmol command and check them for more information.
A step of the process has failed. Retrying it may solve the issue.
Application "rr-srv" staged
Starting application "rr-srv"...
Process failed.
Use "cf deploy -i 3cc6b31f-ffab-11ef-822b-eeee0a8e7f89 -a abort" to abort the process.
Use "cf deploy -i 3cc6b31f-ffab-11ef-822b-eeee0a8e7f89 -a retry" to retry the process.
Use "cf dmol -i 3cc6b31f-ffab-11ef-822b-eeee0a8e7f89" to download the logs of the process.
Request clarification before answering.
Hi rbanania,
I had the exact same issue and how I managed to fix it was by deleting any .csv files that I had.
Hope this helps someone.
Regards,
Valentin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.