[rules-users] "in" syntax breaking the Rete Tree

Wolfgang Laun wolfgang.laun at gmail.com
Mon Feb 17 10:29:10 EST 2014


How is the object of class X created and inserted? Java code as it was used
to create the NPE, please.

Stack trace? Version?

-W

On 17/02/2014, droolster <quant.coder at gmail.com> wrote:
> When I use the "in" operator, it breaks the Rete diagram e.g, if I do
>
> Class X {
>
> private into foo;
>
> //setter & getter for foo
> }
>
> rule "ABC"
> when
>     X ( foo in (2,3) )
> then
> System.out.println ("Hello");
> end
>
> it breaks the Rete Tree with a java.lang.NullPointerException:null.
>
> Why does it do that? That is valid syntax.
>
> Regards,
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/in-syntax-breaking-the-Rete-Tree-tp4028148.html
> Sent from the Drools: User forum mailing list archive at Nabble.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