cancel
Showing results for 
Search instead for 
Did you mean: 

Exception while invoking TaskListener: null

nal_raj
Champ on-the-rise
Champ on-the-rise
Hi I am getting following Error while upgrading from 5.9 to 5.18.0
Do i need to implement custom TaskListener? How i can do that?

Caused by: org.activiti.engine.ActivitiException: Exception while invoking TaskListener: null
        at org.activiti.engine.impl.bpmn.helper.ClassDelegate.notify(ClassDelegate.java:119) [activiti-engine-5.18.0.jar:5.18.0]
        at org.activiti.engine.impl.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:34) [activiti-engine-5.18.0.jar:5.18.0]
        at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37) [activiti-engine-5.18.0.jar:5.18.0]
        at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25) [activiti-engine-5.18.0.jar:5.18.0]
        at org.activiti.engine.impl.persistence.entity.TaskEntity.fireEvent(TaskEntity.java:728) [activiti-engine-5.18.0.jar:5.18.0]
        … 265 more
12 REPLIES 12

jbarrez
Star Contributor
Star Contributor
No, it does not. In fact, the 'correct' way is more performant: you are opening up multiple transactions, while the default only uses one.

nal_raj
Champ on-the-rise
Champ on-the-rise
Its working fine after upgrade to Activiti 5.18.0 from 5.9. Smiley Happy
Performance wise i can see there is 50% improvement with H2 db. But in case of oracle it's only 10-12% only.
do you have any specific suggestions while working with oracle with respective to performance improvement referring to same architecture.

sherry
Champ in-the-making
Champ in-the-making
I met the same problem.I'll share my opinion.when the activiti  from usertask1 to usertask2,i use a listener class to set the next Assignee.And in this class,i found i cant find the relation class.So,my User class didnt have its manager information.After adding this,it worked.