Marco Piraccini [
http://community.jboss.org/people/mpiraccini] created the discussion
"Re: Weird problem with new JBPM 5.2 release"
To view the discussion, visit:
http://community.jboss.org/message/641467#641467
--------------------------------------------------------------
I answer to my own question. In my code, to avoid to dipose the session
"manually", I manage the afterProcessCompleted event:
public void afterProcessCompleted(ProcessCompletedEvent event)
{
// Dispose the session.
// Commented with JBPM 5.2
((StatefulKnowledgeSession) event.getKnowledgeRuntime()).dispose();
}
That turns to null the session.
With JBPM 5.2, after the process is completed, the InternalKnowledgeRuntime.endOperation
is executed, soi a NPE is thrown.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/641467#641467]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]