[rules-users] again eval

Markus Helbig mhelbig81 at googlemail.com
Thu Oct 25 05:03:49 EDT 2007


sorry it is:

item : Item(eval(Factory.getList().contains(id)))


2007/10/24, Edson Tirelli <tirelli at post.com>:
>
>     You can't bind a variable to an eval.
>
>     []s
>     Edson
>
> 2007/10/24, Markus Helbig <mhelbig81 at googlemail.com>:
> >
> > Hi
> >
> > rule
> >   when
> >     item : eval(Factory.getList().contains(id))
> >   then
> > end
> >
> > resolves into
> >
> > [10/24/07 17:50:55:636 CEST] 00000030 SystemErr     R
> > org.drools.rule.InvalidRulePackage: Rule Compilation
> error : [Rule
> > name=Rule1, agendaGroup=MAIN, salience=30, no-loop=false]
> > package/Rule_Rule1_0.java (13:756) : The method eval(boolean) is
> > undefined for the type Rule_Rule1_0
> >
> > what does it mean?
> >
> > Cheers
> >
> > Markus
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
>
>
>
> --
>   Edson Tirelli
>   Software Engineer - JBoss Rules Core Developer
>   Office: +55 11 3529-6000
>   Mobile: +55 11 9287-5646
>   JBoss, a division of Red Hat @ www.jboss.com
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>



More information about the rules-users mailing list