NPE when there is a null value in a list used by a FROM element in a BRMS rule
Issue
The following rule throws an NPE if the list contains a null item:
global java.util.List list
rule R
when
$other : Integer( ) from list
then
end
Environment
- Red Hat JBoss Business Rules Managment System (BRMS)
- 5.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.