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!");
end
If 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.loadRulebaseFrom
Drl(RuleEngineWrapper.java:506)
at
com.ford.finance.nges.rules.RuleEngineWrapper$WorkSpace.loadRuleBase(Rul
eEngineWrapper.java:472)
at
com.ford.finance.nges.rules.RuleEngineWrapper$WorkSpace.<init>(RuleEngin
eWrapper.java:64)
at
com.ford.finance.nges.rules.RuleEngineWrapper.getWorkSpace(RuleEngineWra
pper.java:582)
Would you like a new JIRA?
With kind regards,
Mike