cancel
Showing results for 
Search instead for 
Did you mean: 

No process instance in execution

tdtappe
Confirmed Champ
Confirmed Champ
After getting some unexpected NPEs using CDI (e.g. injecting ProcessInstance) I had a look into the activiti tables and noticed some tasks having a process instance id assigned - but their assigned execution do not have a process instance id.
Is this supposed to be possible/allowed?
Can anyone shed some light on this?

–Heiko
11 REPLIES 11

frederikherema1
Star Contributor
Star Contributor
Sorry, I was referring to the ACT_RU_TASK table, that have the missing executtion-ids. I don't see anything in our code that could be causing the absence/disappearing of the ID. So you are saying you cannot reproduce the issue with your process? If you still can, perhaps it's a good idea to extract the process that is showing this behavior, simplify it and create a simple unit-test so we can look closer.

tdtappe
Confirmed Champ
Confirmed Champ
No, I don't have act_ru_task records without execution id.

I will try to restore the state when this problem occured.
I just added three more table exports that might be helpful just in case I can't reproduce the problem.

Thanks so far!