Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2017-10-09 13:48:53 -0400
committerSarika Sinha2017-10-09 13:48:53 -0400
commit0284baad0b8d463681be45a3e64d099a7faf7d3d (patch)
treee4819376845b0588a8b91d43684a9b541c6fae0d
parent750f7209437d4162e095a09cfc2f853f562d8c8f (diff)
downloadeclipse.platform.debug-0284baad0b8d463681be45a3e64d099a7faf7d3d.tar.gz
eclipse.platform.debug-0284baad0b8d463681be45a3e64d099a7faf7d3d.tar.xz
eclipse.platform.debug-0284baad0b8d463681be45a3e64d099a7faf7d3d.zip
Bug 525778 - NPE in LaunchConfigurationTabGroupViewer.java:330 I20171011-2000I20171011-0305I20171010-2000I20171009-2000
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
index 04a53eb57..b07c9824b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
@@ -325,8 +325,10 @@ public class LaunchConfigurationTabGroupViewer {
public void widgetSelected(SelectionEvent evt) {
handleApplyPressed();
ILaunchConfigurationTab[] tabs = getTabs();
- for (ILaunchConfigurationTab tab : tabs) {
- tab.postApply();
+ if (tabs != null) {
+ for (ILaunchConfigurationTab tab : tabs) {
+ tab.postApply();
+ }
}
}
});

Back to the top