Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2015-01-23 03:15:41 -0500
committerUwe Stieber2015-01-23 03:16:11 -0500
commit26d00d88c6606ef2ff7a371a3c8ff3fc98a6b443 (patch)
tree1daf18e4504a5e72061d4e735db0f7731173ea6c
parent70192756cacd4606b5c43651381922f914e4b6a6 (diff)
downloadrt.equinox.p2-26d00d88c6606ef2ff7a371a3c8ff3fc98a6b443.tar.gz
rt.equinox.p2-26d00d88c6606ef2ff7a371a3c8ff3fc98a6b443.tar.xz
rt.equinox.p2-26d00d88c6606ef2ff7a371a3c8ff3fc98a6b443.zip
Bug 387088 - org.eclipse.equinox.p2.director NullPointerException during
ProvisioningListener.notify Complete the partial fix for this issue by commit 4b0ea17add3a6041d3b53804d4d43d4470611b16. Also the metadataReposForRemoval variable can be null. Change-Id: Iaeecfd83a60b12dfe3b32c41f5b3843904f14988 Signed-off-by: Uwe Stieber <uwe.stieber@windriver.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java b/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java
index 6468098e3..fec58439e 100644
--- a/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java
+++ b/bundles/org.eclipse.equinox.p2.director.app/src/org/eclipse/equinox/internal/p2/director/app/DirectorApplication.java
@@ -694,7 +694,7 @@ public class DirectorApplication implements IApplication, ProvisioningListener {
// either found or not found. either way, we're done here
return;
}
- if (IRepository.TYPE_METADATA == type) {
+ if (IRepository.TYPE_METADATA == type && metadataReposForRemoval != null) {
for (int i = 0; i < metadataReposForRemoval.length; i++) {
if (metadataReposForRemoval[i] != null && URIUtil.sameURI(metadataReposForRemoval[i], (location))) {
metadataReposForRemoval[i] = null;

Back to the top