summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2013-01-28 14:12:56 (EST)
committerPascal Rapicault2013-01-28 14:12:56 (EST)
commitc6120d7358aa860799a5617b529b6502682d00f6 (patch)
tree57313c07e3147348d739b680fb4f8f641cd7bb2e
parent5847cf1c1eb179f06e56a072caad4d37121159bf (diff)
downloadrt.equinox.p2-c6120d7358aa860799a5617b529b6502682d00f6.zip
rt.equinox.p2-c6120d7358aa860799a5617b529b6502682d00f6.tar.gz
rt.equinox.p2-c6120d7358aa860799a5617b529b6502682d00f6.tar.bz2
399294 - [simpleconfigurator] NPE when PDE creates bundles.infov20130128-191256I20130128-2000
-rw-r--r--bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorImpl.java b/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorImpl.java
index 55e1743..3e1344e 100644
--- a/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorImpl.java
+++ b/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorImpl.java
@@ -398,7 +398,7 @@ public class SimpleConfiguratorManipulatorImpl implements SimpleConfiguratorMani
return;
}
SimpleConfiguratorManipulatorUtils.writeConfiguration(simpleInfos, outputFile);
- if (CONFIG_LIST.equals(outputFile.getName()) && isSharedInstallSetup(URIUtil.toFile(installArea), outputFile))
+ if (CONFIG_LIST.equals(outputFile.getName()) && installArea != null && isSharedInstallSetup(URIUtil.toFile(installArea), outputFile))
rememberSharedBundlesInfoTimestamp(installArea, outputFile.getParentFile());
}