Steps for reproduce error 1) Go to partymgr find screen 2) Select customer which have geoPointId [partyId : DemoCustomer ] 3) Update postal address which have geolocation 4) Remove all Contact Purposes and Go Back to profile screen 5) It generate an error due to contactMechPurposeType is undefined I have extended the use of this patch to 2 other templates git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881713 13f79535-47bb-0310-9956-ffa450edef68