diff --git a/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/CommonTranslationHandler.java b/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/CommonTranslationHandler.java index f347c29475..d8f234019a 100644 --- a/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/CommonTranslationHandler.java +++ b/org.adempiere.pipo.handlers/src/org/adempiere/pipo2/handler/CommonTranslationHandler.java @@ -55,7 +55,7 @@ public class CommonTranslationHandler extends AbstractElementHandler implements String language = getStringValue(element, "AD_Language"); MLanguage lang = MLanguage.get(ctx.ctx, language); // skip if not system installed language - if (! lang.isSystemLanguage()) + if (lang == null || ! lang.isSystemLanguage()) return; if (log.isLoggable(Level.INFO)) log.info(elementValue+" "+getStringValue(element, "Name"));