It appears that a work around is to test if the boolean value is equal to
true or false. The following seems to work:
$ea : EasyApp(getOwn_eaIsProposedInsuredIndAsBoolean() == false)
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Null-Pointer-Exception-org-mvel2-
I commented out the rule causing the null pointer error.
When it got to another null Boolean value (this time without negation) I got
another (different) null pointer exception:
org.drools.base.mvel.MVELPredicateExpression.evaluate(MVELPredicateExpression.java:104)
--
View this message in context:
MVEL appeared to be null pointer protected when it evaluated our rules ...
at least until it got to a Boolean attribute. In every other instance when
an value is null Drools skips over the rule ... however, I get the null
pointer exception listed above when Drools goes to execute this rule and
the