Hi,
I get a NPE (in v4.0) when loading a rulebase with the following rule:-
rule "smurf"
when
$p1 : Property( $pminp : number )
$p2 : Property( $pmaxp : number )
$p3 : Property( $mlp : number < $pmin | > $pmaxp )
then
System.out.println("The smurf has landed!" );
endIf the rule uses literals in the multi-restriction connective field constraint it loads OK.
The stack trace isn't very helpful:-
java.lang.NullPointerException
at com.ford.finance.nges.rules.RuleEngineWrapper$WorkSpace.loadRulebaseFromDrl(RuleEngineWrapper.java :506)
at com.ford.finance.nges.rules.RuleEngineWrapper$WorkSpace.loadRuleBase(RuleEngineWrapper.java:472 )
at com.ford.finance.nges.rules.RuleEngineWrapper$WorkSpace.<init>(RuleEngineWrapper.java:64 )
at com.ford.finance.nges.rules.RuleEngineWrapper.getWorkSpace(RuleEngineWrapper.java:582 )Would you like a new JIRA?
With kind regards,
Mike
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users