Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2011-02-14 18:20:38 +0000
committerVivian Kong2011-02-14 18:20:38 +0000
commitba018de6b6d23cf85cca6a415397055a562b8d03 (patch)
tree58d0e7d0aa687f59aa62ad33d9f8cb92fc635d14
parent660878a6954ce9247278d9d3675261191fb0c5f6 (diff)
downloadorg.eclipse.ptp-ba018de6b6d23cf85cca6a415397055a562b8d03.tar.gz
org.eclipse.ptp-ba018de6b6d23cf85cca6a415397055a562b8d03.tar.xz
org.eclipse.ptp-ba018de6b6d23cf85cca6a415397055a562b8d03.zip
Bug 336953 - NPE if remote project's tool chain is not configured properly for John Liu
-rw-r--r--rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/rdt/core/remotemake/ScannerInfoUtility.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/rdt/core/remotemake/ScannerInfoUtility.java b/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/rdt/core/remotemake/ScannerInfoUtility.java
index 1651c1583..291365e27 100644
--- a/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/rdt/core/remotemake/ScannerInfoUtility.java
+++ b/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/rdt/core/remotemake/ScannerInfoUtility.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2010 IBM Corporation and others.
+ * Copyright (c) 2009, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -52,7 +52,7 @@ public class ScannerInfoUtility {
IScannerInfoCollector collector) {
ICfgScannerConfigBuilderInfo2Set container = CfgScannerConfigProfileManager.getCfgScannerConfigBuildInfo(cfg);
Map<CfgInfoContext, IScannerConfigBuilderInfo2> map = container.getInfoMap();
- List<IScannerInfoConsoleParser> clParserList = null;
+ List<IScannerInfoConsoleParser> clParserList = new ArrayList<IScannerInfoConsoleParser>();
Map<String, Set<CfgInfoContext>> profileIDToConfigContextMap = new HashMap<String, Set<CfgInfoContext>>();
if (container.isPerRcTypeDiscovery()) {
IResourceInfo[] rcInfos = cfg.getResourceInfos();

Back to the top