New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JBPM-8896] NPE during Process Migration when Boundary Timer is fired but UserTask not completed #1578
Conversation
this is ok to test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the fix looks proper to me, just to investigate why the build failed.
Jenkins restest this please. |
Both tests (org.jbpm.integrationtests.ProcessStateTest.testTimerState & org.jbpm.integrationtests.ProcessTimerTest.testOnEntryTimerExecutedMultipleTimes) are failing because the timer is removed though it's expected to be triggered more times, due to their period is not zero. Maybe it can be added this condition to remove only timers without defined period: |
Failure unrelated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just a minor comment in case you want to achieve it.
jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/StateBasedNodeInstance.java
Outdated
Show resolved
Hide resolved
@elguardian I've created a test with Quartz timers and springboot, and it's failing because jobHandler is null, so timer is not removed |
It seems droolsjbpm-integration test with Quartz timers is working with this new commit. Thanks @elguardian ! |
jenkins retest this |
SonarCloud Quality Gate failed. 0 Bugs |
This is ok to merge |
@kiegroup/gatekeepers can you merge ? |
self remove timer if there is no next boundary event in human task