Hi all, 

I agree with W. : NPE should be the default, and "null" cases behaviour should 
be planned by programmers. 
But I am not sure about using a new operator in rules (and do the update in 
Guvnor ...). 
Why not using some drools annotations on the getter specifying the behaviour of 
an eval on a null value returned by this getter ? 
And may be these annotation could be added to an existing POJO via the declared 
type syntax (just like event role in fusion) ? 

Vincent. 
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to