Many Flow node instance not found

1
0
-1

Using: Bonita BMP Community 6.1.0, Tomcat 6.0.37, Postgres 9.3.5, Red Hat 6 Upd 5, java version 1.7.0_65

Every day I'm getting many exceptions in my Bonita Log . I can't find the root cause for them. Any clue?

Jan 10, 2015 12:00:01 AM org.bonitasoft.engine.log.technical.TechnicalLoggerSLF4JImpl log SEVERE: Error while executing job Timer_Ev_2472885:org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 2472885 not found org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 2472885 not found at org.bonitasoft.engine.jobs.TriggerTimerEventJob.execute(TriggerTimerEventJob.java:75) at org.bonitasoft.engine.scheduler.impl.JobWrapper.execute(JobWrapper.java:106) at org.bonitasoft.engine.scheduler.impl.QuartzJob.execute(QuartzJob.java:32) at org.quartz.core.JobRunShell.run(JobRunShell.java:207) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560) Caused by: org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 2472885 not found at org.bonitasoft.engine.core.process.instance.impl.FlowNodeInstanceServiceImpl.getFlowNodeInstance(FlowNodeInstanceServiceImpl.java:231) at org.bonitasoft.engine.execution.event.EventsHandler.triggerCatchEvent(EventsHandler.java:353) at org.bonitasoft.engine.execution.event.EventsHandler.access$000(EventsHandler.java:86) at org.bonitasoft.engine.execution.event.EventsHandler$1.execute(EventsHandler.java:322) at org.bonitasoft.engine.execution.event.EventsHandler.triggerInTransaction(EventsHandler.java:325) at org.bonitasoft.engine.execution.event.EventsHandler.triggerCatchEvent(EventsHandler.java:391) at org.bonitasoft.engine.jobs.TriggerTimerEventJob.execute(TriggerTimerEventJob.java:69) ... 4 more

Jan 10, 2015 12:00:02 AM org.bonitasoft.engine.log.technical.TechnicalLoggerSLF4JImpl log WARNING: Job FAILED : group='1', name='Timer_Ev_2472885', class='org.bonitasoft.engine.jobs.TriggerTimerEventJob', data='[{'tenantId'='1', class='java.lang.Long'}, {'jobId'='181787', class='java.lang.Long'}, {'jobName'='Timer_Ev_2472885', class='java.lang.String'}]', at='00:00:02 01/10/2015', reports='org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 2472885 not found' org.quartz.JobExecutionException: org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 2472885 not found [See nested exception: org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 2472885 not found] at org.bonitasoft.engine.scheduler.impl.QuartzJob.execute(QuartzJob.java:34) at org.quartz.core.JobRunShell.run(JobRunShell.java:207) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560) Caused by: org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 2472885 not found at org.bonitasoft.engine.scheduler.impl.JobWrapper.execute(JobWrapper.java:114) at org.bonitasoft.engine.scheduler.impl.QuartzJob.execute(QuartzJob.java:32) ... 2 more Caused by: org.bonitasoft.engine.scheduler.exception.SJobExecutionException: org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 2472885 not found at org.bonitasoft.engine.jobs.TriggerTimerEventJob.execute(TriggerTimerEventJob.java:75) at org.bonitasoft.engine.scheduler.impl.JobWrapper.execute(JobWrapper.java:106) ... 3 more Caused by: org.bonitasoft.engine.core.process.instance.api.exceptions.SFlowNodeNotFoundException: Flow node instance with id 2472885 not found at org.bonitasoft.engine.core.process.instance.impl.FlowNodeInstanceServiceImpl.getFlowNodeInstance(FlowNodeInstanceServiceImpl.java:231) at org.bonitasoft.engine.execution.event.EventsHandler.triggerCatchEvent(EventsHandler.java:353) at org.bonitasoft.engine.execution.event.EventsHandler.access$000(EventsHandler.java:86) at org.bonitasoft.engine.execution.event.EventsHandler$1.execute(EventsHandler.java:322) at org.bonitasoft.engine.execution.event.EventsHandler.triggerInTransaction(EventsHandler.java:325) at org.bonitasoft.engine.execution.event.EventsHandler.triggerCatchEvent(EventsHandler.java:391) at org.bonitasoft.engine.jobs.TriggerTimerEventJob.execute(TriggerTimerEventJob.java:69) ... 4 more

Comments

Submitted by Sean McP on Sun, 01/11/2015 - 07:48

from my reading it looks like the job you are executing is trying to do something with process flownode id 2472885.

This flownode does not exist and therefore fails. Is this process failing somewhere else? It is obviously not there.

This is a cause and effect issue. What you are seeing here is effect, this job is failing beCAUSE other job is not there...you need to find out why that other job is not there first.

If it is supposed to be there, then it must be failing first...before this job.

Hope this helps regards Seán

Submitted by gema.rebollo on Sun, 01/11/2015 - 10:15

Thank you!

My understanding is that "Timer_Ev_2472885" is the job name for the quartz job trying to execute Flow node instance with id 2472885, so I've to look for a Flow node instance with id 2472885 which seems to be failed before.

1 answer

1
0
-1

You should check when the issue occurs. In my case, it was when the job was launched. after lot of time i found the issue responsable for that. The problem was that i was defining the "context" variable in the instanziation form. Now i delete the context and it work good!

Notifications