The following code generates NPE in ReteTuple.java
rule 
	when
              Membership ( $regDate : regDate)
              Segment ( startDate < $regDate || startDate > endDate )
        then
	     System.err.print(“Invalid start date”);
end
I am new in Drools and don’t know much about DRL scripting. It works fine I use && operator instead.

View this message in context: Comparing Date with || OR operator
Sent from the Drools - User mailing list archive at Nabble.com.