[rules-users] Eval0Invoker : java.lang.NullPointerException

Michael Anstis michael.anstis at gmail.com
Wed Dec 14 15:33:06 EST 2011


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111214/102d5979/attachment.html 


More information about the rules-users mailing list