From ed24fd0980ccc0217001d020305a0a0325e21b40 Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Mon, 31 Aug 2009 15:35:09 +0000 Subject: [PATCH] Error when enable the Export Model Validator http://sourceforge.net/tracker/?func=detail&aid=2847797&group_id=176962&atid=879332 --- .../org/adempiere/model/ExportModelValidator.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/base/src/org/adempiere/model/ExportModelValidator.java b/base/src/org/adempiere/model/ExportModelValidator.java index ebb607752b..f1733c380f 100644 --- a/base/src/org/adempiere/model/ExportModelValidator.java +++ b/base/src/org/adempiere/model/ExportModelValidator.java @@ -87,8 +87,16 @@ public class ExportModelValidator implements ModelValidator */ public void initialize (ModelValidationEngine engine, MClient client) { - m_AD_Client_ID = client.getAD_Client_ID(); - log.info(client.toString()); + if(client !=null) + { + m_AD_Client_ID = client.getAD_Client_ID(); + log.info(client.toString()); + } + else + { + return; + } + MReplicationStrategy rplStrategy = null;