No Such Method on Context Logger in Camunda 7.20

I am working with Camunda community edition version 7.20.
I am getting error like this
java.lang.NoSuchMethodError: ‘void org.camunda.bpm.engine.impl.interceptor.ContextLogger.log(java.lang.String, java.lang.String, java.lang.String, java.lang.Object)’
at org.camunda.bpm.engine.impl.interceptor.ContextLogger.bpmnStackTrace(
at org.camunda.bpm.engine.impl.interceptor.BpmnStackTrace.printStackTrace(

In my Camunda BPMN model, I have an Auto Approval Timer Event configured. This event triggers the execution of a delegate class. While the timer event jobs are successfully completing, the associated tasks are not being marked as completed (the delegate class is not being invoked) and exceptions occurs, but when i restart the job by setting a new due date in the cockpit, its getting completed.