Hide Forgot
Created attachment 834808 [details] isolated reproducer I reproduced 2 different things going wrong in the Drools rule engine in stateful mode with PHREAK: - infinite loop (which takes up 100% of 1 cpu power core) - NPE deep inside drools. But Mario and I believe they have the same cause. I've isolated a small reproducer that reproduces the issue via OptaPlanner, with only 4 entities, 4 moves, 1 step and 1 score rule. It's attached to this issue. This normally enables Mario to find the cause and fix it, as we did in the past for many PHREAK bugs.
Fixed by https://github.com/droolsjbpm/drools/commit/a7162dfd3
Geoffrey De Smet <ge0ffrey.spam> updated the status of jira PLANNER-163 to Resolved
Verified with BRMS 6.0.1-redhat-2