The following code generates NPE in ReteTuple.java
<pre>rule
        when
Membership ( $regDate : regDate)
Segment ( startDate < $regDate || startDate > endDate )
then
         System.err.print(“Invalid start date”);
end
</pre>
I am new in Drools and don’t know much about DRL scripting. It works fine I use && operator instead.
<br><hr align="left" width="300">
View this message in context: <a href="http://n3.nabble.com/Comparing-Date-with-OR-operator-tp347656p347656.html">Comparing Date with || OR operator</a><br>
Sent from the <a href="http://n3.nabble.com/Drools-User-f47000.html">Drools - User mailing list archive</a> at Nabble.com.<br>