From 282b42d59d3732c479eb251607aefc7828056a48 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 13 Feb 2008 20:01:49 +0000 Subject: [PATCH] Fix [ 1893051 ] NPE at Workflow Activities --- client/src/org/compiere/apps/wf/WFActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/org/compiere/apps/wf/WFActivity.java b/client/src/org/compiere/apps/wf/WFActivity.java index 6e83744e3d..0e93522856 100644 --- a/client/src/org/compiere/apps/wf/WFActivity.java +++ b/client/src/org/compiere/apps/wf/WFActivity.java @@ -418,7 +418,8 @@ public class WFActivity extends CPanel statusBar.setStatusLine(Msg.getMsg(Env.getCtx(), "WFNoActivities")); bNext.setEnabled(false); bPrevious.setEnabled(false); - m_menu.updateActivities(0); + if (m_menu != null) + m_menu.updateActivities(0); return; } // Display Activity