no, can you put a JIRA in for that? Null values should always fail a test (unless checking for null).
On 12/10/06, Dirk Bergstrom <[EMAIL PROTECTED]> wrote:
I got the following NPE today. Presumably because my bean has a null Date object. Seems that drools ought not throw NPEs like this... I'm using Trunk, built middle of last week (sorry, can't remember the revision number). java.lang.NullPointerException at org.drools.base.evaluators.DateFactory$DateGreaterEvaluator.evaluateCachedLeft (DateFactory.java:360) at org.drools.rule.VariableRestriction.isAllowedCachedLeft( VariableRestriction.java:68) at org.drools.rule.VariableConstraint.isAllowedCachedLeft( VariableConstraint.java:72) at org.drools.common.DoubleBetaConstraints.isAllowedCachedLeft( DoubleBetaConstraints.java:130) at org.drools.reteoo.CollectNode.assertTuple(CollectNode.java:134) at org.drools.reteoo.SingleTupleSinkAdapter.propagateAssertTuple( SingleTupleSinkAdapter.java:20) at org.drools.reteoo.JoinNode.assertObject(JoinNode.java:152) at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject( SingleObjectSinkAdapter.java:20) at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:145) at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject( CompositeObjectSinkAdapter.java:313) at org.drools.reteoo.ObjectTypeNode.assertObject( ObjectTypeNode.java:157) at org.drools.reteoo.Rete.assertObject(Rete.java:121) at org.drools.reteoo.ReteooRuleBase.assertObject( ReteooRuleBase.java:196) at org.drools.reteoo.ReteooWorkingMemory.doAssertObject( ReteooWorkingMemory.java:68) at org.drools.common.AbstractWorkingMemory.assertObject( AbstractWorkingMemory.java:641) at org.drools.common.AbstractWorkingMemory.assertObject( AbstractWorkingMemory.java:474) -- Dirk Bergstrom [EMAIL PROTECTED] _____________________________________________ Juniper Networks Inc., Computer Geek Tel: 408.745.3182 Fax: 408.745.8905 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email