[jboss-dev-forums] [Other JBoss Development Design] - JBoss Rules problem (too many iterations)
nicolemans72
do-not-reply at jboss.com
Tue Mar 6 05:46:33 EST 2007
I use JBoss Rules in my project and I have a problem with this rule
| [then]addList "{value}" {expression}
| =liste.add(new Integer({value})); {expression}
|
The drl line wich matches with this rule is like that:
| addList "125" addList "130" addList "135" addList "140"
|
The number of element to add could change but when I have more than 9 elements, I have a compilation problem:
| rg.drools.rule.InvalidRulePackage: unknown:124:0 Unable to expand: niveaux concernes : addList "20" addList "29" addList "35" addList "40" addList "45" addList "50" addList "65" addList "70" addList "75" addList "80". Due to To many iterations in processing the expression: [addList "20" addList "29" addList "35" addList "40" addList "45" addList "50" addList "65" addList "70" addList "75" addList "80"] with target template: [liste.add(new Integer({value})); {expression}]
|
Is there a limit of iterations??
Is it a bug?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025346#4025346
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025346
More information about the jboss-dev-forums
mailing list