Yesterday I tried version 5.6. I have had a problem with the MVEL syntax.
rule "RULE1"
$result: PersonData( businessActivity.status == "CLOSED" )
end
This rule that works in the version 5.5, now have a problem in version 5.6:
unable to invoke method:
org.titan.registry.filter.BusinessActivityData.getStatus: target of method
is null
The problem is that not all Person facts inside the working memory have a
business activity. NullPointer would be quite correct but in version 5.5 the
behaviour was different...
Maybe I'm abusing of your kindness.
Andrea
--
View this message in context:
http://drools.46999.n3.nabble.com/Problem-when-I-cleaning-the-production-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.