If PANDevice is null the eval will through a NPE.
Salience controls the order in which activation are executed not the order rules' LHSs are evaluated. All rules' LHSs are evaluated as the facts are inserted.
sent on the move
On 14 Dec 2011 20:23, "Venkat" <ven12344@yahoo.com> wrote:
Hi Laune, thanks for your reply. Yes I did thought that way and that is the
reason in my test cases I have given the input as "Empty" value for the
fields. Still it gives me the same exception. But shockingly the last two
rules works fine, but not the three before those. These two working rules
are for the "Null" check. I don't understand that at all.
Any thoughts on this.
Thanks,
Venkat.
--
View this message in context: http://drools.46999.n3.nabble.com/Eval0Invoker-java-lang-NullPointerException-tp3586222p3586604.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users