Author: lektran
Date: Sat Aug 28 09:46:58 2010
New Revision: 990333
URL:
http://svn.apache.org/viewvc?rev=990333&view=revLog:
Continue with the next iteration on exception, prevents potential NPE
Modified:
ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java
Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java?rev=990333&r1=990332&r2=990333&view=diff==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java Sat Aug 28 09:46:58 2010
@@ -487,6 +487,7 @@ public class ContactMechWorker {
facilityContactMechPurposes = EntityUtil.filterByDate(facilityContactMechPurposes);
} catch (GenericEntityException e) {
Debug.logWarning(e, module);
+ continue;
}
for (GenericValue facilityContactMechPurpose: facilityContactMechPurposes) {
String contactMechId = facilityContactMechPurpose.getString("contactMechId");