From 22d4c8efdd87c06165ca5e2537ab9678a81d5b0f Mon Sep 17 00:00:00 2001 From: Uwe Stieber Date: Fri, 9 Feb 2007 14:28:15 +0000 Subject: [PATCH] [fix] NPE in SubSystemConfigurationProxy constructor --- .../core/internal/subsystems/SubSystemConfigurationProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/internal/subsystems/SubSystemConfigurationProxy.java b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/internal/subsystems/SubSystemConfigurationProxy.java index e27ef15ebb1..aea11fe6820 100644 --- a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/internal/subsystems/SubSystemConfigurationProxy.java +++ b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/internal/subsystems/SubSystemConfigurationProxy.java @@ -226,7 +226,7 @@ public class SubSystemConfigurationProxy implements ISubSystemConfigurationProxy // We default to all system types if neither systemTypeNames nor systemTypeIds are specified. if (systemTypeNames == null && systemTypeIds == null) systemTypeNames = "*"; //$NON-NLS-1$ - this.allTypes = systemTypeNames.equals("*"); //$NON-NLS-1$ + this.allTypes = systemTypeNames != null && systemTypeNames.equals("*"); //$NON-NLS-1$ this.image = getPluginImage(element, element.getAttribute("icon")); //$NON-NLS-1$ if (this.image == null) this.image = RSEUIPlugin.getDefault().getImageDescriptor(ISystemIconConstants.ICON_SYSTEM_CONNECTION_ID);