Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-09-28 14:42:27 -0400
committerDonald Dunne2016-09-29 22:07:13 -0400
commit30d4a032f99aef002e9917a20a5b882b732e76f9 (patch)
treeb0dae62b2c126fb5491d4766c25545842d96b59f
parenta7facf988c8ca799e5fba83ea73042665d6009da (diff)
downloadorg.eclipse.osee-30d4a032f99aef002e9917a20a5b882b732e76f9.tar.gz
org.eclipse.osee-30d4a032f99aef002e9917a20a5b882b732e76f9.tar.xz
org.eclipse.osee-30d4a032f99aef002e9917a20a5b882b732e76f9.zip
bug: Handle NPE in ArtifactExplorer on restart
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/explorer/ArtifactExplorer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/explorer/ArtifactExplorer.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/explorer/ArtifactExplorer.java
index 65a9a9f453..833ddc4ba5 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/explorer/ArtifactExplorer.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/explorer/ArtifactExplorer.java
@@ -380,7 +380,9 @@ public class ArtifactExplorer extends GenericViewPart implements IArtifactExplor
public void dispose() {
OseeEventManager.removeListener(this);
ArtifactExplorerEventManager.remove(this);
- artifactExplorerMenu.dispose();
+ if (artifactExplorerMenu != null) {
+ artifactExplorerMenu.dispose();
+ }
super.dispose();
}

Back to the top