[rules-users] PatternBuilder createRestriction bug on Drools 5.1.1

Wolfgang Laun wolfgang.laun at gmail.com
Thu Dec 22 01:46:12 EST 2011


Now would you mind posting an example reproducing this error...
-W

On 22/12/2011, Manuel Ortiz <manuel.ortizramos at gmail.com> wrote:
> Dear Sirs:
>
> I'm working on an application which writes a set of rules using information
> which is stored in BDD tables. This information can be 'wrong' concerning
> rule compilation, and I expect that Drools reports the corresponding
> compilation errors.
>
> I've found that PatternBuilder.createRestriction() fails to process
> composite restrictions when one of the single restrictions cannot be
> implemented. The problem is that although one of the sigle restrictions is
> returned null, the composite restriction array is succesfully returned, one
> of its elements being null, wich causes a NullPointerException when the
> composite restriction is processed in
> PatternBuilder.build(AbstractCompositeConstraint version) to obtain a
> MultiRestrictionFieldConstraint object.
>
> I would like to know if this bug has yet been reported and fixed in some
> Drools version beyond 5.1.1
>
> Thank you very much for your time.
>
> Kind regards,
>
> Manuel Ortiz
>



More information about the rules-users mailing list