[rules-users] Strange error in DRL compiler

ronalbury ronalbury at gmail.com
Tue Dec 13 11:30:50 EST 2011


I can't get it to accept this LHS at all:

	when
		$ea : EasyApp((priBen_xmPartyList.size() != priBen_xmRelationList.size())
						|| (priBen_xmPartyList.size() !=
priBen_eaRelationshipNameList.size()))

Description	Resource	Path	Location	Type
BuildError: Unable to Analyse Expression priBen_xmPartyList.size !=
priBen_xmRelationList.size || priBen_xmPartyList.size !=
priBen_eaRelationshipNameList.size:
[Error: unable to resolve method using strict-mode:
com.onfs.easyapp.EasyApp.priBen_eaRelationshipNameList()]
[Near : {... xmPartyList.size != priBen_eaRelationshipNameList. ....}]
                                 ^
[Line: 1, Column: 85]	EasyApp.drl	/TermXpressRules/src/main/rules	line 243
Drools Error

And, yes, they are all three lists:
        priBen_xmPartyList = new ArrayList<XmParty>();
        priBen_xmRelationList = new ArrayList<XmRelation>();
        priBen_eaRelationshipNameList = new ArrayList<String>();


--
View this message in context: http://drools.46999.n3.nabble.com/Strange-error-in-DRL-compiler-tp3582691p3582798.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list