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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
