(OFBIZ-11506) Here is more detail: getRelatedParties service(groovy) was returning duplicate key of relatedPartyIdList. So HashMap was passed instead of List of string in entity condition that's why we are getting type casting error. Thanks: Archana Asthana for report and Mohammed Rehan Khan for the patch.