Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2015-01-18 12:33:08 -0500
committerPascal Rapicault2015-01-18 12:33:08 -0500
commit4b0ea17add3a6041d3b53804d4d43d4470611b16 (patch)
treeb18ae09150b8aa8dcc13ce0feb16e88f4ffc9267
parent17907d0431365abe39ac5242252723cf3b307a7d (diff)
downloadrt.equinox.p2-4b0ea17add3a6041d3b53804d4d43d4470611b16.tar.gz
rt.equinox.p2-4b0ea17add3a6041d3b53804d4d43d4470611b16.tar.xz
rt.equinox.p2-4b0ea17add3a6041d3b53804d4d43d4470611b16.zip
Bug 387088 - org.eclipse.equinox.p2.director NullPointerException duringI20150120-0800
ProvisioningListener.notify
-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 e18a14490..6468098e3 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
@@ -684,7 +684,7 @@ public class DirectorApplication implements IApplication, ProvisioningListener {
//TODO BE CAREFUL SINCE WE ARE MODIFYING THE SELF PROFILE
int type = event.getRepositoryType();
URI location = event.getRepositoryLocation();
- if (IRepository.TYPE_ARTIFACT == type) {
+ if (IRepository.TYPE_ARTIFACT == type && artifactReposForRemoval != null) {
for (int i = 0; i < artifactReposForRemoval.length; i++) {
if (artifactReposForRemoval[i] != null && URIUtil.sameURI(artifactReposForRemoval[i], (location))) {
artifactReposForRemoval[i] = null;

Back to the top