Hi,
I'm facing the same issue : java.lang.IllegalStateException: Illegal method call. This session was previously disposed. when I call session.dispose ().
How did you manage to solve it ?
in my case I have one running ksession where I have all my process instances.
In my application I have I button where I call the dispose methode, this same methode was working with JBPM 5.2.
Cheers