-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
NEW
-
NEW
Trying to compile a rule like the following
rule R when $p : Person( name == null || (name in (\"Alice\", \"Charlie\", \"David\"))==false ) then list.add($p.getName()); end
causes the following RuntimeException:
java.lang.RuntimeException at org.drools.compiler.rule.builder.PatternBuilder.rewriteCompositeExpressions(PatternBuilder.java:924) at org.drools.compiler.rule.builder.PatternBuilder.rewriteCompositeExpressions(PatternBuilder.java:919) at org.drools.compiler.rule.builder.PatternBuilder.rewriteOrExpressions(PatternBuilder.java:893) at org.drools.compiler.rule.builder.PatternBuilder.buildExpression(PatternBuilder.java:889) at org.drools.compiler.rule.builder.PatternBuilder.buildCcdDescr(PatternBuilder.java:860) at org.drools.compiler.rule.builder.PatternBuilder.build(PatternBuilder.java:715) at org.drools.compiler.rule.builder.PatternBuilder.processConstraintsAndBinds(PatternBuilder.java:580)