ProcessEngineException while evaluating expression with cause 'null'

Hello,

We are observing an error during evaluating expressions after executing the work.
Camunda Version: 7.18.0

Logs:

2024-05-09T16:09:08,919 [pool-6-thread-6] ERROR com.motive.camunda.task.CamundaModelExecTask(:122) [] - Error in signalling execution after synchronous SO execution: b3cc02a5-0e0d-11ef-957b-005056afa876 org.camunda.bpm.engine.ProcessEngineException: Error while evaluating expression: #{serviceOperations['HC-QueryProactiveActions'].signalToTake == 'success'}. Cause: null
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.el.JuelExpression.getValue(JuelExpression.java:69)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.el.UelExpressionCondition.evaluate(UelExpressionCondition.java:50)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.el.UelExpressionCondition.evaluate(UelExpressionCondition.java:45)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:93)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:55)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.doLeave(FlowNodeActivityBehavior.java:56)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.doLeave(AbstractBpmnActivityBehavior.java:62)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityLeave.execute(PvmAtomicOperationActivityLeave.java:56)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityLeave.execute(PvmAtomicOperationActivityLeave.java:32)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:130)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:110)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:85)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:622)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:596)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:2021)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:2018)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueExecutionIfNotCanceled(PvmExecutionImpl.java:2088)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:2037)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:2018)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:52)
        at deployment.SMPEAR-JBoss.ear//com.motive.camunda.delegates.SmpServiceTaskDelegate.leave(SmpServiceTaskDelegate.java:46)
        at deployment.SMPEAR-JBoss.ear//com.motive.camunda.delegates.SOTaskDelegate.checkAndThrowErrorOrTakeSignal(SOTaskDelegate.java:252)
        at deployment.SMPEAR-JBoss.ear//com.motive.camunda.delegates.SOTaskDelegate.goAhead(SOTaskDelegate.java:172)
        at deployment.SMPEAR-JBoss.ear//com.motive.camunda.delegates.SOTaskDelegate.signal(SOTaskDelegate.java:81)
        at deployment.SMPEAR-JBoss.ear//com.motive.camunda.task.CamundaModelExecTask.waitIfSynchronous(CamundaModelExecTask.java:117)
        at deployment.SMPEAR-JBoss.ear//com.motive.camunda.task.CamundaModelExecTask.execute(CamundaModelExecTask.java:94)
        at deployment.SMPEAR-JBoss.ear//com.motive.camunda.delegates.SOTaskDelegate.doExecute(SOTaskDelegate.java:54)
        at deployment.SMPEAR-JBoss.ear//com.motive.camunda.delegates.SmpServiceTaskDelegate.execute(SmpServiceTaskDelegate.java:31)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.delegate.ActivityBehaviorInvocation.invoke(ActivityBehaviorInvocation.java:40)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.CustomActivityBehavior.execute(CustomActivityBehavior.java:42)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.ClassDelegateActivityBehavior$1.call(ClassDelegateActivityBehavior.java:68)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.ClassDelegateActivityBehavior$1.call(ClassDelegateActivityBehavior.java:65)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.executeWithErrorPropagation(AbstractBpmnActivityBehavior.java:90)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.bpmn.behavior.ClassDelegateActivityBehavior.execute(ClassDelegateActivityBehavior.java:65)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:61)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:50)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueIfExecutionDoesNotAffectNextOperation(PvmExecutionImpl.java:2082)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:42)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:31)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:130)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:110)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:85)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:622)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:596)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:2021)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:2018)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueExecutionIfNotCanceled(PvmExecutionImpl.java:2088)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:2037)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:2018)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:61)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:30)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:70)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:130)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:110)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:85)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:75)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:631)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:606)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:66)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:130)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:110)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:85)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:75)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:631)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:606)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:66)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:130)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:110)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:85)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:622)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:596)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.scopeCreated(PvmAtomicOperationTransitionCreateScope.java:38)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:53)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:27)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:130)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:117)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:85)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:75)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.jobexecutor.AsyncContinuationJobHandler.execute(AsyncContinuationJobHandler.java:81)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.jobexecutor.AsyncContinuationJobHandler.execute(AsyncContinuationJobHandler.java:40)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:133)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:43)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:67)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.interceptor.ExceptionCodeInterceptor.execute(ExceptionCodeInterceptor.java:55)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71)
        at org.jboss.threads@2.4.0.Final//org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:29)
        at org.jboss.threads@2.4.0.Final//org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:789)
        at org.jboss.threads@2.4.0.Final//org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:44)
        at org.jboss.threads@2.4.0.Final//org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:809)
        at java.base/java.lang.Thread.run(Thread.java:829)
        at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513)
Caused by: java.lang.NullPointerException
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.juel.AstIdentifier.eval(AstIdentifier.java:81)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.juel.AstProperty.eval(AstProperty.java:52)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.juel.AstProperty.eval(AstProperty.java:52)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.juel.AstBinary$SimpleOperator.eval(AstBinary.java:27)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.juel.AstBinary.eval(AstBinary.java:106)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.juel.AstEval.eval(AstEval.java:50)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.juel.AstNode.getValue(AstNode.java:26)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.juel.TreeValueExpression.getValue(TreeValueExpression.java:114)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.ExpressionGetInvocation.invoke(ExpressionGetInvocation.java:40)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63)
        at org.camunda.bpm.camunda-engine@7.18.0//org.camunda.bpm.engine.impl.el.JuelExpression.getValue(JuelExpression.java:60)
        ... 107 more

After the execution of work, it’s clear that the signal sent is ‘success’ and manually verified the expression ‘serviceOperations[‘HC-QueryProactiveActions’].signalToTake’ is ‘success’.

Please let us know your thoughts.
HC-ProactiveBulkScheduler.bpmn (19.0 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.