aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vach2013-02-20 07:13:36 (EST)
committerMatthias Vach2013-02-20 07:28:21 (EST)
commit688c0c50343a6c8e980789607487812a18b20680 (patch)
tree7e8cef12835332b7c5da94c414089805e591477e
parent423ed721bef4407adc00ae7d26258c7646826587 (diff)
downloadorg.eclipse.tycho.nexus-688c0c50343a6c8e980789607487812a18b20680.zip
org.eclipse.tycho.nexus-688c0c50343a6c8e980789607487812a18b20680.tar.gz
org.eclipse.tycho.nexus-688c0c50343a6c8e980789607487812a18b20680.tar.bz2
-rw-r--r--src/main/java/org/eclipse/tycho/nexus/internal/plugin/DefaultUnzipRepository.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/eclipse/tycho/nexus/internal/plugin/DefaultUnzipRepository.java b/src/main/java/org/eclipse/tycho/nexus/internal/plugin/DefaultUnzipRepository.java
index e45249e..05b45d4 100644
--- a/src/main/java/org/eclipse/tycho/nexus/internal/plugin/DefaultUnzipRepository.java
+++ b/src/main/java/org/eclipse/tycho/nexus/internal/plugin/DefaultUnzipRepository.java
@@ -191,7 +191,7 @@ public class DefaultUnzipRepository extends AbstractShadowRepository implements
@Subscribe
public void onRepositoryRegistryEventAdd(RepositoryRegistryEventAdd evt) {
- if (evt.getRepository().getId().equals(getMasterRepository().getId())) {
+ if (getMasterRepository() != null && evt.getRepository().getId().equals(getMasterRepository().getId())) {
try {
setMasterRepositoryId(evt.getRepository().getId());
} catch (final NoSuchRepositoryException e) {