<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=515152606-23012007>i was just
wondering if this behavior is consistent... </SPAN></FONT><FONT face=Arial
size=2><SPAN class=515152606-23012007>say i have two rules like
these:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=515152606-23012007></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=515152606-23012007>rule
"Equals"</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=515152606-23012007>when</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=515152606-23012007><FONT face="Courier New"
size=2> MyFact ( </FONT></FONT><FONT size=2><FONT
face="Courier New">integerAttribute<FONT> == 10
)</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=515152606-23012007>then
</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=515152606-23012007> .....</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=515152606-23012007>end</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=515152606-23012007></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=515152606-23012007>rule
"Greater Than"</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=515152606-23012007>when<BR> MyFact ( integerAttribute
> 10 )</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=515152606-23012007>then</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=515152606-23012007>
.....</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=515152606-23012007>end</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=515152606-23012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=515152606-23012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=515152606-23012007>now, if MyFact
returns <STRONG>null</STRONG> for <STRONG>integerAttribute</STRONG> 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... :(</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=515152606-23012007>please
help..</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=515152606-23012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=515152606-23012007>thanks in
advance</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=515152606-23012007></SPAN></FONT> </DIV></BODY></HTML>