Avoid repetitive message on eclipse about session inactivated
This commit is contained in:
parent
ce09c51372
commit
a70916d6e7
|
@ -88,7 +88,11 @@ public class DashboardRunnable implements Runnable, Serializable
|
||||||
boolean isEventThread = Events.inEventListener();
|
boolean isEventThread = Events.inEventListener();
|
||||||
if (!isEventThread)
|
if (!isEventThread)
|
||||||
{
|
{
|
||||||
|
try {
|
||||||
ctx = (Properties)template.getDesktop().getSession().getAttribute(SessionContextListener.SESSION_CTX);
|
ctx = (Properties)template.getDesktop().getSession().getAttribute(SessionContextListener.SESSION_CTX);
|
||||||
|
} catch (Exception e) {
|
||||||
|
ctx = null;
|
||||||
|
}
|
||||||
if (ctx == null)
|
if (ctx == null)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue