[rules-users] NPE from LHS of rule is not returned by Drools to calling program
Wolfgang Laun
wolfgang.laun at gmail.com
Thu Mar 29 13:22:59 EDT 2012
On 29 March 2012 17:09, scottleff <scott.leff at fbfs.com> wrote:
> Your example has openned my eyes to a few facts
>
You're welcome ;-)
>
> rule "policyDefinition.Coverage"
> agenda-group "policyDefinition"
> when
> $p : Policy()
> $cov : Coverage() from $p.coverageList
> then
> try {
> insert($cov);
> }
> catch (Exception e) {
> e.printStackTrace();
> }
> end
>
Huh! This is one for my collection of anti-patterns!
Thanks for the feedback!
-W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120329/e42914fa/attachment.html
More information about the rules-users
mailing list