Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
Executing both of the following rules causes an NPE in RuleTerminalNode.java:
rule "addSet"
no-loop true
when
$ms: MySet()
then
modify( $ms )
insert( new MySet( "x", "y" ) );
end
rule "xySet"
no-loop true
when
$ms: MySet()
then
modify( $ms )
end
import java.util.*;
public class MySet {
Set<String> set = new HashSet<>();
public MySet( String... strings )
public void add( String... strings ){
for( String s: strings )
}