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-memory-tp4030341p4030367.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users