Hi,
This is a bug. May I ask you please to open a JIRA for it? Please add
there what is the JBoss Rules version you are using.
I will fix it asap.
Thank you,
Edson
Holla Sachin-a23031 wrote:
i was just wondering if this behavior is consistent... say i have two
rules like these:
rule "Equals"
when
MyFact ( integerAttribute == 10 )
then
.....
end
rule "Greater Than"
when
MyFact ( integerAttribute > 10 )
then
.....
end
now, if MyFact returns *null* for *integerAttribute* the second
rule results in NullPointerException while asserting the fact.. but
the first rule does not. i am not able to reason out if this is
expected functionality... :(
please help..
thanks in advance
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @
www.jboss.com