The EvaluatorWrapper tries to look up the right handle from the WM, but there may be cases (e.g. when the right input comes from a FROM node) where the handle is not in the WM, causing a NPE. This causes the right handle to be null, or to be resolved incorrectly. Evaluations are then inconsistent.
Fixed by https://github.com/sotty/drools/commit/775cf361398532940ca90beade09f1f8a573a1ee
Mario Fusco <mario.fusco> updated the status of jira DROOLS-421 to Resolved
This is part of a forward port of fixes applied to the 5.6.x community version and 6.1.x version. We would like to have the acks set to cherry pick into 6.0.1.
Verified that the fix is present in BRMS 6.0.1 ER2 and the relevant tests pass.