AnsweredAssumed Answered

Jobexecutor related problem

Question asked by sazzadul on Nov 17, 2014
Latest reply on Nov 19, 2014 by jbarrez
We are using activiti version 5.16.1 and we have a lot of long running processes.

We have managed to delete a lot of entries from following tables:

act_hi_varinst and act_ge_bytearray (where name_ like 'hist-var%') and seeing a lot of errors in the log file:

Is there anyway to come around this without restoring from backup ? Is this caused by the fact that we deleted rows from act_ge_bytearray ?

Any help will be higly appreciated.

Thanks

2014-11-17 11:17:18,173  ERROR JobRetryCmd - activitiy or FailedJobRetryTimerCycleValue is null in job acfaed2a-6e37-11e4-83f2-24b6fd9adf8e'. only decrementing retries.
2014-11-17 11:17:18,186  ERROR ExecuteJobsRunnable - exception during job execution: Job acfaed2a-6e37-11e4-83f2-24b6fd9adf8e failed
org.activiti.engine.ActivitiException: Job acfaed2a-6e37-11e4-83f2-24b6fd9adf8e failed
   at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:101)
   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.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:52)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.NullPointerException

Outcomes