--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/ManageConfigurationsDialog.java Fri Sep 03 10:37:04 2010 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/ManageConfigurationsDialog.java Fri Sep 03 12:21:04 2010 -0500
@@ -298,7 +298,7 @@
IStatus s = new Status(IStatus.ERROR, CarbideBuilderPlugin.PLUGIN_ID, 0, "Error retrieving workbench window. Cannot display configuration tree.", null);
throw new CoreException(s);
}
- if (sbsv2Project){
+ if (sbsv2Project && sdkConfigTreeNodes != null){
replaceFilteredConfigsFromProject(sdkConfigTreeNodes);
}
@@ -324,6 +324,11 @@
* @param sdkConfigTreeNodes
*/
private void replaceFilteredConfigsFromProject(BuildTargetTreeNode[] sdkConfigTreeNodes) {
+
+ if (sdkConfigTreeNodes == null){
+ return;
+ }
+
List<ICarbideBuildConfiguration> bldConfigs = cpi.getBuildConfigurations();
HashMap<BuildTargetTreeNode, List<ISymbianBuildContext>> missingConfigMap = new HashMap<BuildTargetTreeNode, List<ISymbianBuildContext>>();