diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java index 8f87fb91b3..3cfdaee3bb 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java @@ -310,9 +310,11 @@ public class AdempiereWebUI extends Window implements EventListener, IWeb private String getPrmString(String prm) { String retValue = ""; - String[] strs = m_URLParameters.get(prm); - if (strs != null && strs.length == 1 && strs[0] != null) - retValue = strs[0]; + if (m_URLParameters != null) { + String[] strs = m_URLParameters.get(prm); + if (strs != null && strs.length == 1 && strs[0] != null) + retValue = strs[0]; + } return retValue; }