[rules-users] DROOLS Negate Question

Michael Anstis michael.anstis at gmail.com
Sat May 21 17:11:23 EDT 2011


I assume you are defining a rule in the guided decision table?

Can you provide an extract of your repository with modifications you have
made and I'll take a look?

Thanks,

Mike

2011/5/21 Faisal Shafique <just_faisal at yahoo.com>

> Brother you are working on saturday?
>
> Regards,
>
> Faisal Shafique
>
> On May 21, 2011, at 2:55 PM, mahmood lebbai <mahmoodlebbai at yahoo.com>
> wrote:
>
> I need help to clarify the following
>
> I had taken latest Guvnour 5.2.0 M2 version and use the sample pricing loan
> rules.
>
> When i tried to use the "Negate" Meta data option and set it to true on
> first rule , i had got the following error.
>
>
> Pricing loans] [ERR 102] Line 7:3 mismatched input 'income' in rule "Row 1
> Pricing loans"[Pricing loans] Line 16:0 unexpected exception at input
> 'rule'. Exception: java.util.EmptyStackException. Stack trace:
> java.util.EmptyStackException at java.util.Stack.peek(Stack.java:79) at
> java.util.Stack.pop(Stack.java:61) at
> org.drools.lang.ParserHelper.popParaphrases(ParserHelper.java:409) at
> org.drools.lang.ParserHelper.end(ParserHelper.java:723) at
> org.drools.lang.DRLParser.rule(DRLParser.java:915) at
> org.drools.lang.DRLParser.statement(DRLParser.java:248) at
> org.drools.lang.DRLParser.compilationUnit(DRLParser.java:143) at
> org.drools.compiler.DrlParser.compile(DrlParser.java:225) at
> org.drools.compiler.DrlParser.parse(DrlParser.java:71) at
> org.drools.compiler.DrlParser.parse(DrlParser.java:76) at
>
> I have a similar requirement where in I need to write both negate with true
> and false within the same ruleset in guvnour. Please help me out how to
> achieve this.
>
> Regards,
> Mahmood
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110521/f5f3b714/attachment.html 


More information about the rules-users mailing list