Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-13612

Missing stack trace for exception in process application code called by task listener

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • engine
    • None

      Environment (Required on creation):

      Camunda v7.14.0

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      The null pointer exception in the following stack trace is not related to the process application code it is occurring at when called from a task listener:

      11-Jun-2021 10:27:42.997 SEVERE [pool-2-thread-2] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
       org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
       at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1076)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1200)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:30)
       at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:133)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:43)
       at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28)
       at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110)
       at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
       at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
       at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       at java.base/java.lang.Thread.run(Thread.java:834)
       Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
       at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53)
       at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45)
       at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1090)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1070)
       ... 17 more
       Caused by: java.lang.NullPointerException
       11-Jun-2021 10:27:43.008 WARNING [pool-2-thread-2] org.camunda.commons.logging.BaseLogger.logWarn ENGINE-14006 Exception while executing job ec162621-ca9e-11eb-8aee-0242ac120003:
       org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
       at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1076)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1200)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:30)
       at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:133)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:43)
       at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28)
       at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110)
       at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
       at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
       at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       at java.base/java.lang.Thread.run(Thread.java:834)
       Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
       at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53)
       at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45)
       at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1090)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1070)
       ... 17 more
       Caused by: java.lang.NullPointerException
       11-Jun-2021 10:27:43.014 SEVERE [pool-2-thread-1] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
       org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
       at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1076)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1200)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:30)
       at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:133)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:43)
       at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28)
       at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110)
       at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
       at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
       at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       at java.base/java.lang.Thread.run(Thread.java:834)
       Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
       at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53)
       at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45)
       at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1090)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1070)
       ... 17 more
       Caused by: java.lang.NullPointerException
       11-Jun-2021 10:27:43.019 WARNING [pool-2-thread-1] org.camunda.commons.logging.BaseLogger.logWarn ENGINE-14006 Exception while executing job ec162621-ca9e-11eb-8aee-0242ac120003:
       org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
       at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1076)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1200)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:30)
       at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:133)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:43)
       at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28)
       at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110)
       at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
       at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
       at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       at java.base/java.lang.Thread.run(Thread.java:834)
       Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
       at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53)
       at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45)
       at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1090)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1070)
       ... 17 more
       Caused by: java.lang.NullPointerException
       11-Jun-2021 10:27:43.035 SEVERE [pool-2-thread-3] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
       org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
       at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1076)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1200)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:30)
       at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:133)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:43)
       at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28)
       at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110)
       at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
       at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
       at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       at java.base/java.lang.Thread.run(Thread.java:834)
       Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
       at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53)
       at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45)
       at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1090)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1070)
       ... 17 more
       Caused by: java.lang.NullPointerException
       11-Jun-2021 10:27:43.049 WARNING [pool-2-thread-3] org.camunda.commons.logging.BaseLogger.logWarn ENGINE-14006 Exception while executing job ec162621-ca9e-11eb-8aee-0242ac120003:
       org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
       at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1076)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1200)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48)
       at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:30)
       at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:133)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110)
       at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:43)
       at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28)
       at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110)
       at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
       at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
       at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110)
       at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       at java.base/java.lang.Thread.run(Thread.java:834)
       Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
       at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53)
       at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45)
       at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92)
       at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1090)
       at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1070)
       ... 17 more
       Caused by: java.lang.NullPointerException

      Steps to reproduce (Required on creation):

      • Add a task listener to your task calling process application code
      • Let the application code throw an exception when called

      Observed Behavior (Required on creation):

      The exception stack trace does not show any relation to the process application code for the exception.

      Expected behavior (Required on creation):

      The exception is related to the application code so the user is able to determine where the exception is coming from.

      Root Cause (Required on prioritization):

      Solution Ideas (Optional):

      Hints (Optional):

      • The exception in the stack trace is enriched with the called class when this class is located next to the test case executing the process for example.

        This is the controller panel for Smart Panels app

            [CAM-13612] Missing stack trace for exception in process application code called by task listener

            Shantanu Patil added a comment - - edited

            Hi @Tobias,

            Upon further investigation I realised that the stack trace was indeed incomplete. You can reproduce this issue by having a custom class that accesses null due date from `delegateTask`.

             

            Is there a buffer limit of stack traces because the above trace is quite long?

            Shantanu Patil added a comment - - edited Hi @Tobias, Upon further investigation I realised that the stack trace was indeed incomplete. You can reproduce this issue by having a custom class that accesses null due date from `delegateTask`.   Is there a buffer limit of stack traces because the above trace is quite long?

            Hi shan-96,

            thanks for the additional input.

            Yeah we could hit a limit there somehow but it might also be related to how the listener code is called.
            I will further look into this over the next days.
            That being said, I am also grateful for any further insights of course if you would like to investigate this further.

            Best,
            Tobias

            Tobias Metzke-Bernstein added a comment - Hi shan-96 , thanks for the additional input. Yeah we could hit a limit there somehow but it might also be related to how the listener code is called. I will further look into this over the next days. That being said, I am also grateful for any further insights of course if you would like to investigate this further. Best, Tobias

            Hi shan-96,

            I had a closer look but I am not much further with a root cause here.
            Using my own local class in a test case as reference in the BPMN, I could see my class in the stack trace actually.

            I am not entirely sure yet why the NullPointerException coming from your class does not have a stack trace attached.
            It might be related to your setup.

            Could you detail a bit what your environment looks like?
            Are you using Spring Boot and the Camunda Spring Boot Starter?
            Are you creating a process application WAR or EAR and deploy it to an application server?

            Thanks and best regards,
            Tobias

            Tobias Metzke-Bernstein added a comment - Hi shan-96 , I had a closer look but I am not much further with a root cause here. Using my own local class in a test case as reference in the BPMN, I could see my class in the stack trace actually. I am not entirely sure yet why the NullPointerException coming from your class does not have a stack trace attached. It might be related to your setup. Could you detail a bit what your environment looks like? Are you using Spring Boot and the Camunda Spring Boot Starter? Are you creating a process application WAR or EAR and deploy it to an application server? Thanks and best regards, Tobias

            Shantanu Patil added a comment - - edited

            We have deployed it with a custom docker image that uses camunda/camunda-bpm-platform:tomcat-7.14.0 as base image.

            Can you share a screenshot / tail of your logs so as to see the end of the stack trace?

            Shantanu Patil added a comment - - edited We have deployed it with a custom docker image that uses camunda/camunda-bpm-platform:tomcat-7.14.0 as base image. Can you share a screenshot / tail of your logs so as to see the end of the stack trace?

            I gave it a quick try with a local test and a local test class that is called in the timeout listener.

            13:59:51.560 [pool-1-thread-3] WARN  org.camunda.bpm.engine.jobexecutor - ENGINE-14006 Exception while executing job 9: 
            org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            	at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na]
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_241]
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_241]
            	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_241]
            Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na]
            	... 17 common frames omitted
            Caused by: java.lang.NullPointerException: null
            	at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na]
            	... 23 common frames omitted
            

            I will try to get to test this with a class from a process application as well over the next days.

            Best,
            Tobias

            Tobias Metzke-Bernstein added a comment - I gave it a quick try with a local test and a local test class that is called in the timeout listener. 13:59:51.560 [pool-1-thread-3] WARN org.camunda.bpm.engine.jobexecutor - ENGINE-14006 Exception while executing job 9: org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_241] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_241] at java.lang. Thread .run( Thread .java:748) [na:1.8.0_241] Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na] ... 17 common frames omitted Caused by: java.lang.NullPointerException: null at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na] ... 23 common frames omitted I will try to get to test this with a class from a process application as well over the next days. Best, Tobias

            Thanks Tobias, I am observing that this is a single log line, but as you can see my logs attached to the ticket, it cascades to multiple lines.

            Shantanu Patil added a comment - Thanks Tobias, I am observing that this is a single log line, but as you can see my logs attached to the ticket, it cascades to multiple lines.

            That was on me, I just wanted to show how the output looks like, it is logged multiple times for me as well but looks just like this one every time.
            Full log:

            14:06:00.301 [pool-1-thread-1] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            	at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na]
            	at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]
            Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na]
            	... 17 common frames omitted
            Caused by: java.lang.NullPointerException: null
            	at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na]
            	... 23 common frames omitted
            14:06:00.314 [pool-1-thread-1] WARN  org.camunda.bpm.engine.jobexecutor - ENGINE-14006 Exception while executing job 9: 
            org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            	at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na]
            	at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]
            Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na]
            	... 17 common frames omitted
            Caused by: java.lang.NullPointerException: null
            	at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na]
            	... 23 common frames omitted
            14:06:00.323 [pool-1-thread-2] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            	at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na]
            	at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]
            Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na]
            	... 17 common frames omitted
            Caused by: java.lang.NullPointerException: null
            	at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na]
            	... 23 common frames omitted
            14:06:00.335 [pool-1-thread-2] WARN  org.camunda.bpm.engine.jobexecutor - ENGINE-14006 Exception while executing job 9: 
            org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            	at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na]
            	at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]
            Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na]
            	... 17 common frames omitted
            Caused by: java.lang.NullPointerException: null
            	at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na]
            	... 23 common frames omitted
            14:06:00.343 [pool-1-thread-3] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            	at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na]
            	at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]
            Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na]
            	... 17 common frames omitted
            Caused by: java.lang.NullPointerException: null
            	at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na]
            	... 23 common frames omitted
            14:06:00.360 [pool-1-thread-3] WARN  org.camunda.bpm.engine.jobexecutor - ENGINE-14006 Exception while executing job 9: 
            org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null'
            	at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na]
            	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na]
            	at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]
            Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na]
            	... 17 common frames omitted
            Caused by: java.lang.NullPointerException: null
            	at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na]
            	at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na]
            	at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na]
            	... 23 common frames omitted
            

            Tobias Metzke-Bernstein added a comment - That was on me, I just wanted to show how the output looks like, it is logged multiple times for me as well but looks just like this one every time. Full log: 14:06:00.301 [pool-1-thread-1] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na] at java.base/java.lang. Thread .run( Thread .java:832) ~[na:na] Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na] ... 17 common frames omitted Caused by: java.lang.NullPointerException: null at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na] ... 23 common frames omitted 14:06:00.314 [pool-1-thread-1] WARN org.camunda.bpm.engine.jobexecutor - ENGINE-14006 Exception while executing job 9: org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na] at java.base/java.lang. Thread .run( Thread .java:832) ~[na:na] Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na] ... 17 common frames omitted Caused by: java.lang.NullPointerException: null at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na] ... 23 common frames omitted 14:06:00.323 [pool-1-thread-2] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na] at java.base/java.lang. Thread .run( Thread .java:832) ~[na:na] Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na] ... 17 common frames omitted Caused by: java.lang.NullPointerException: null at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na] ... 23 common frames omitted 14:06:00.335 [pool-1-thread-2] WARN org.camunda.bpm.engine.jobexecutor - ENGINE-14006 Exception while executing job 9: org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na] at java.base/java.lang. Thread .run( Thread .java:832) ~[na:na] Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na] ... 17 common frames omitted Caused by: java.lang.NullPointerException: null at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na] ... 23 common frames omitted 14:06:00.343 [pool-1-thread-3] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na] at java.base/java.lang. Thread .run( Thread .java:832) ~[na:na] Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na] ... 17 common frames omitted Caused by: java.lang.NullPointerException: null at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na] ... 23 common frames omitted 14:06:00.360 [pool-1-thread-3] WARN org.camunda.bpm.engine.jobexecutor - ENGINE-14006 Exception while executing job 9: org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'Exception while invoking TaskListener: null ' at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1081) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.triggerTimeoutEvent(TaskEntity.java:1205) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:48) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.TimerTaskListenerJobHandler.execute(TimerTaskListenerJobHandler.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:134) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:1) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[classes/:na] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobHelper.executeJob(ExecuteJobHelper.java:57) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.executeJob(ExecuteJobsRunnable.java:110) ~[classes/:na] at org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:71) ~[classes/:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na] at java.base/java.lang. Thread .run( Thread .java:832) ~[na:na] Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while invoking TaskListener: null at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:53) ~[classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1095) ~[classes/:na] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.invokeListener(TaskEntity.java:1075) ~[classes/:na] ... 17 common frames omitted Caused by: java.lang.NullPointerException: null at org.camunda.bpm.engine.test.bpmn.tasklistener.TaskListenerTest$NPEListener.notify(TaskListenerTest.java:976) ~[test-classes/:na] at org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:45) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:58) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:92) ~[classes/:na] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:63) ~[classes/:na] at org.camunda.bpm.engine.impl.task.listener.ClassDelegateTaskListener.notify(ClassDelegateTaskListener.java:50) ~[classes/:na] ... 23 common frames omitted

            Hi shan-96,

            We will not be able to investigate your request further any time soon.
            Investigating this request requires more resources than we can currently expend.

            If there are any additional details that you think can speed up the process of investigation, don't hesitate to add them.
            We will close this ticket in case there is no further activity within the next two weeks.

            Thank you for your understanding.

            Cheers,
            Tobias

            Tobias Metzke-Bernstein added a comment - Hi shan-96 , We will not be able to investigate your request further any time soon. Investigating this request requires more resources than we can currently expend. If there are any additional details that you think can speed up the process of investigation, don't hesitate to add them. We will close this ticket in case there is no further activity within the next two weeks. Thank you for your understanding. Cheers, Tobias

            Hello Tobias,

            Yes, you may close this ticket as we are unable to reproduce this problem as well.

            Shantanu Patil added a comment - Hello Tobias, Yes, you may close this ticket as we are unable to reproduce this problem as well.

            Hi shan-96 ,

            Thank you for the quick response.
            I am hereby closing the ticket.

            Best,
            Tobias

            Tobias Metzke-Bernstein added a comment - Hi shan-96 , Thank you for the quick response. I am hereby closing the ticket. Best, Tobias

              Unassigned Unassigned
              shan-96 Shantanu Patil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: