Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Duft2016-12-06 08:13:52 -0500
committerMarkus Duft2016-12-07 01:58:37 -0500
commitdfad55953942a8bcd712e7287ddf9d3f809c5ada (patch)
tree244dd129ba0985581b69066c717d8de4c6bec849 /org.eclipse.debug.ui/ui
parent6efa88191899f8b37a9821e6798220cfabf6b484 (diff)
downloadeclipse.platform.debug-dfad55953942a8bcd712e7287ddf9d3f809c5ada.tar.gz
eclipse.platform.debug-dfad55953942a8bcd712e7287ddf9d3f809c5ada.tar.xz
eclipse.platform.debug-dfad55953942a8bcd712e7287ddf9d3f809c5ada.zip
Bug 508733 - NPE on clicking Edit for an invalid launch elementI20161207-0515
Change-Id: I5262d988941f667eb0df97ffcb047949fa747ba1 Signed-off-by: Markus Duft <markus.duft@ssi-schaefer.com>
Diffstat (limited to 'org.eclipse.debug.ui/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationTabGroup.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationTabGroup.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationTabGroup.java
index b7140238f..86e2395f5 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationTabGroup.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationTabGroup.java
@@ -558,6 +558,9 @@ public class GroupLaunchConfigurationTabGroup extends AbstractLaunchConfiguratio
* if launch configuration should be filtered
*/
public static boolean isValidLaunchReference(ILaunchConfiguration config) {
+ if (config == null) {
+ return false;
+ }
return DebugUIPlugin.doLaunchConfigurationFiltering(config) && !WorkbenchActivityHelper.filterItem(config);
}

Back to the top