jarlesat opened a new issue, #4181:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4181

   ### Describe the bug
   
   When running a process defined in a bpmn file, and that file includes a node 
of type reusable subprocess, that in turn run another process in another bpmn 
file, it fails immediately with a java.lang.IllegalStateException: Illegal 
method call. This session was previously disposed.
   
   This is introduced in v10.1.0, and does not happen in v10.0.0 (nor in 
earlier version neither). It seems to have been introduced by pull request 
#3678.
   
   I have included a minimal maven project, 
[sample.zip](https://github.com/user-attachments/files/25042202/sample.zip) 
that demonstrates it. Note - in the zipped file the version is currently set to 
10.0.0
   
   This was reported by me by mistake as 
[incubator-kie-drools#6579](https://github.com/apache/incubator-kie-drools/issues/6579)
 first.
   
   ### Expected behavior
   
   The code should write the following to the console - also with version 
10.1.0:
   ```
   1st rule
   2nd rule
   3rd rule
   ```
   
   
   ### Actual behavior
   
   Using version 10.1.0:
   ```
   1st rule
   2nd rule
   java.lang.IllegalStateException: Illegal method call.
   This session was previously disposed.
   ```
   
   
   ### How to Reproduce?
   
   In a process: create a call activity (reusable subprocess) that calls a 
separate process. Connect it to a business rule task that fires a rule flow 
group.
   
   It is also demonstrated in the supplied zip-file, by bumpin drools and 
kogito to v10.1.0 and run it.
   
   ### Output of `uname -a` or `ver`
   
   _No response_
   
   ### Output of `java -version`
   
   _No response_
   
   ### GraalVM version (if different from Java)
   
   _No response_
   
   ### Kogito version or git rev (or at least Quarkus version if you are using 
Kogito via Quarkus platform BOM)
   
   _No response_
   
   ### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
   
   _No response_
   
   ### Additional information
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to