AnsweredAssumed Answered

Getting nullpointer exception while complete action

Question asked by nprajapatiasite on Nov 28, 2018

HI,

i am getting below Error from activity while going to complete action.

Here i have post error stack trace, please go through it and give some solution to resolve this.

 

i have also attached my process Diagram.

in the process diagram while i am going to complete "Final Status Assign" stage then it will throw below error.

can anybody give solution for resolve this?

 

2018-10-01 15:28:51,970 ERROR [com.asite.wom.service.impl.TasksService] (ASITE_ASITE_TP_JMS_POOL1) Error in to complete action :: java.lang.NullPointerException
at org.activiti.engine.impl.persistence.entity.TaskEntity.complete(TaskEntity.java:196)
at org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:50)
at org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:24)
at org.activiti.engine.impl.cmd.NeedsActiveTaskCmd.execute(NeedsActiveTaskCmd.java:61)
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)
at org.activiti.engine.impl.TaskServiceImpl.complete(TaskServiceImpl.java:174)
at com.asite.wom.service.impl.TasksService.completeAction(TasksService.java:530)
at com.asite.wom.service.impl.TasksService.completeAction(TasksService.java:466)
at com.asite.wom.service.impl.TasksService$$FastClassBySpringCGLIB$$79d1d730.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at com.asite.wom.service.impl.TasksService$$EnhancerBySpringCGLIB$$b34fd3ab.completeAction(<generated>)
at com.asite.wom.command.worker.ClearActionCommandWorker.call(ClearActionCommandWorker.java:51)
at com.asite.wom.command.worker.ClearActionCommandWorker.call(ClearActionCommandWorker.java:19)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Attachments

Outcomes