This even occurs in 5.6.0 - I went back to the old version thinking it maybe
the plugin for 6.0.0.Final. It's not, it's the same problem.
Both these rule definitions cause a problem in the Rete Tree viewer tab:
rule "ABC"
when
A ( $p : p )
B ( c < $p, c == 3 || c == 4 )
then
System.out.println ("Hello");
end
rule "ABC - 2nd version"
when
A ( $p : p )
B ( c < $p, c in (3, 4) )
then
System.out.println ("Hello");
end
It causes a problem with one of the AlphaBaseVertex - it is NULL and the
Rete Tree render fails with a NULL pointer exeception. You can still see the
tree after but that node (alphbasevertex) has no properties when looking at
the property tab for it. The rules evaluate ok. But the corresponding
information is not in the Rete Tree diagram.
--
View this message in context:
http://drools.46999.n3.nabble.com/in-operator-breaking-the-Rete-Tree-tp40...
Sent from the Drools: User forum mailing list archive at
Nabble.com.