diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DashboardRunnable.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DashboardRunnable.java index eab74678a7..59a464f94e 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DashboardRunnable.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DashboardRunnable.java @@ -88,7 +88,11 @@ public class DashboardRunnable implements Runnable, Serializable boolean isEventThread = Events.inEventListener(); if (!isEventThread) { - ctx = (Properties)template.getDesktop().getSession().getAttribute(SessionContextListener.SESSION_CTX); + try { + ctx = (Properties)template.getDesktop().getSession().getAttribute(SessionContextListener.SESSION_CTX); + } catch (Exception e) { + ctx = null; + } if (ctx == null) return; }