Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Unable to complete tasks after calling ksession.dispose"
To view the discussion, visit:
https://community.jboss.org/message/773053#773053
--------------------------------------------------------------
you must have an active knowledge session to be able to complete task. If you loaded one
from db please make sure you have work item handler for handling human task active as well
(meaning connected to task server). If you disposed previous session it is good to dispose
your work item handler for human tasks as it needs to be disconnected otherwise it will
keep getting events from task server and could lead to the exception you have. Session is
already disposed but handler was still active.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/773053#773053]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]