summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-08-26 03:17:33 (EDT)
committer Stephan Born2013-09-23 05:02:16 (EDT)
commitfa24609b2321e9679eaac3dc637d65cf9dbb3423 (patch)
tree1b315ade142ddcd481a4b7d5109675a477cb6c6c
parent031b4dc7686dc831ae6bf1660b37831a8ed114c4 (diff)
downloadorg.eclipse.stardust.ui.web-fa24609b2321e9679eaac3dc637d65cf9dbb3423.zip
org.eclipse.stardust.ui.web-fa24609b2321e9679eaac3dc637d65cf9dbb3423.tar.gz
org.eclipse.stardust.ui.web-fa24609b2321e9679eaac3dc637d65cf9dbb3423.tar.bz2
Jira-ID: CRNT-30215
Added null check for modelParticipant at StartableProcessBean.isAuthorized() git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@66928 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Sidharth Singh <sidharth.singh@sungard.com>
-rw-r--r--process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/launchpad/StartableProcessBean.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/launchpad/StartableProcessBean.java b/process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/launchpad/StartableProcessBean.java
index b7ae473..8ca10af 100644
--- a/process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/launchpad/StartableProcessBean.java
+++ b/process-portal/src/main/java/org/eclipse/stardust/ui/web/processportal/launchpad/StartableProcessBean.java
@@ -321,6 +321,10 @@ public class StartableProcessBean extends AbstractLaunchPanel implements Initial
*/
private boolean isAuthorized(ModelParticipant modelparticipant, ModelParticipant modelparticipant1)
{
+ if(null == modelparticipant1)
+ {
+ return false;
+ }
if (modelparticipant == modelparticipant1)
{
return true;