Thanks for reporting this Wolfgang. I am going to give a look at it just now.
Executing both of the following rules causes an NPE in RuleTerminalNode.java:rule "addSet"no-loop truewhen$ms: MySet()thenmodify( $ms ){ add( "three", "four" ) }insert( new MySet( "x", "y" ) );endrule "xySet"no-loop truewhen$ms: MySet()thenmodify( $ms ){ add( "z" ) }endimport java.util.*;public class MySet {Set<String> set = new HashSet<>();public MySet( String... strings ){add( strings );}public void add( String... strings ){for( String s: strings ){set.add( s );}}}-W
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev