Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2011-07-21 20:04:03 +0000
committerRyan D. Brooks2011-07-21 20:04:03 +0000
commit6cc11af840ba0e77201409003085f87fc3bbc90e (patch)
treeaf895882fd537a7d7ffc02c3c5266be46237c5dd
parentcadc7f5610a2e69a72282846a0fc02a0129de0fa (diff)
downloadorg.eclipse.osee-6cc11af840ba0e77201409003085f87fc3bbc90e.tar.gz
org.eclipse.osee-6cc11af840ba0e77201409003085f87fc3bbc90e.tar.xz
org.eclipse.osee-6cc11af840ba0e77201409003085f87fc3bbc90e.zip
bug: Add ArtifactExplorer.handleBranchEvent check for null
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactExplorer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactExplorer.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactExplorer.java
index cfc2c48e20a..93a6666c5bc 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactExplorer.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/ArtifactExplorer.java
@@ -1480,6 +1480,9 @@ public class ArtifactExplorer extends ViewPart implements IArtifactExplorerEvent
@Override
public void handleBranchEvent(Sender sender, final BranchEvent branchEvent) {
+ if (branch == null) {
+ return;
+ }
if (branch.getGuid().equals(branchEvent.getBranchGuid())) {
if ((branchEvent.getEventType() == BranchEventType.Committing || branchEvent.getEventType() == BranchEventType.Committed) && branch != null) {
SkynetViews.closeView(VIEW_ID, getViewSite().getSecondaryId());

Back to the top