Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-09-16 11:06:21 -0400
committerdonald.g.dunne2016-09-16 12:27:28 -0400
commit8ecedbd427179236f8a525147cd6dcb5c0fb006f (patch)
treebec0cb641195f805cd333d253aa746b5fdcc26f3
parentc800c9d8ac661cbf545fec359a867e9ba3c7f0bc (diff)
downloadorg.eclipse.osee-8ecedbd427179236f8a525147cd6dcb5c0fb006f.tar.gz
org.eclipse.osee-8ecedbd427179236f8a525147cd6dcb5c0fb006f.tar.xz
org.eclipse.osee-8ecedbd427179236f8a525147cd6dcb5c0fb006f.zip
bug: Goal search NullPointerException
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldEditorParameterSearchItem.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldEditorParameterSearchItem.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldEditorParameterSearchItem.java
index 88107de21d..56c948ec27 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldEditorParameterSearchItem.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldEditorParameterSearchItem.java
@@ -121,7 +121,7 @@ public abstract class WorldEditorParameterSearchItem extends WorldSearchItem imp
if (workItemType != null && workItemType.get().isEmpty()) {
return new Result("You must select a workflow type.");
}
- if (teamDef.get().isEmpty() && ai.get().isEmpty()) {
+ if ((teamDef != null && teamDef.get().isEmpty()) && (ai != null && ai.get().isEmpty())) {
return new Result("You must select either Actionable Item(s) or Team Definition(s).");
}
return Result.TrueResult;

Back to the top