jboss-gpe / processFlowProvision

Other
11 stars 7 forks source link

Signalling subprocesses doesn't work #31

Open erikbo opened 10 years ago

erikbo commented 10 years ago

I am trying to send a signal to a process using pfp. This works fine as long as the process that I am signalling is the main process. If the process instead is a subprocess I get an exception. After a bit of investigating I found out that the error is the line:

ksessionId = sessionPool.getSessionId(processInstanceId);

in the signalEvent method of the SessionPerPInstanceBean class. This line throws a nullpointerexception if the process used is a subprocess. I have attached two process that reproduce this issue.

BPMN2 processes used: https://gist.github.com/erikbo/8a1ead9643548d1e0247 https://gist.github.com/erikbo/83163a1133318f977337