Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan E. Cook2016-06-09 23:42:29 +0000
committerAngel Avila2016-06-09 23:42:29 +0000
commit80b18f92c6a612c884767cfe23e4b88cc391f62c (patch)
tree1465b6fce36fc2a83c657c3f6b723a25d816881d /plugins/org.eclipse.osee.ote.define
parentde190f34a36b1df492bccec98d6e7a37baf79d5f (diff)
downloadorg.eclipse.osee-80b18f92c6a612c884767cfe23e4b88cc391f62c.tar.gz
org.eclipse.osee-80b18f92c6a612c884767cfe23e4b88cc391f62c.tar.xz
org.eclipse.osee-80b18f92c6a612c884767cfe23e4b88cc391f62c.zip
refactor[ats_ATS284247]: Add missing null checks
Signed-off-by: Morgan E. Cook <Morgan.e.cook@boeing.com> Change-Id: Ib9f7cd6fac1690741e653c574107a3a010390b44 Signed-off-by: Morgan E. Cook <Morgan.e.cook@boeing.com>
Diffstat (limited to 'plugins/org.eclipse.osee.ote.define')
-rw-r--r--plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java
index 7a7eb49984e..cbf44d88399 100644
--- a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java
+++ b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java
@@ -154,7 +154,7 @@ public class OutfileToArtifactOperation {
break;
}
} catch (Exception ex) {
- if (operator.getTestRunArtifact() == null) {
+ if (operator == null || operator.getTestRunArtifact() == null) {
throw new Exception(
"Unable to create Test Run Artifact. Make sure type information exists in the selected branch.");
}

Back to the top