[rules-users] java.lang.NullPointerException at org.drools.rule.PredicateConstraint.isAllowed(PredicateConstraint.java:291)

Davide Sottara dsotty at gmail.com
Tue Jun 19 15:14:32 EDT 2012


In order to reproduce the issue, the fact model - or at least the
LoginChallengeKI.java - would be appreciated. 

We'd also need to know which version of Drools and Guvnor you're using -
please make sure they're aligned or the compiled pkg would not be
compatible!

You could probably also consider simplifying the rule structure... many - if
not all - the evals and explicit getters seem unneeded.. that would make the
rule more efficient and definitely more readable.
I didn't check the entire rule, but things like
(lcki.getWS_RiskScore() >= 750 && lcki.getWS_RiskScore() <= 350)
seem suspicious......


Best,
Davide

--
View this message in context: http://drools.46999.n3.nabble.com/java-lang-NullPointerException-at-org-drools-rule-PredicateConstraint-isAllowed-PredicateConstraint--tp4018078p4018079.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list