Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-06-07 12:10:45 -0400
committerMichael Valenta2002-06-07 12:10:45 -0400
commit96ca61b2d4082c1678c5a32910af7f0d71bed98e (patch)
treeb10b1f2c3b0bace1eaa451fc63f22e123d99d0e8
parent607873f4701989f62e1f96f5fd770506476f39cc (diff)
downloadeclipse.platform.team-96ca61b2d4082c1678c5a32910af7f0d71bed98e.tar.gz
eclipse.platform.team-96ca61b2d4082c1678c5a32910af7f0d71bed98e.tar.xz
eclipse.platform.team-96ca61b2d4082c1678c5a32910af7f0d71bed98e.zip
19246: Unable to view a particular CVS repository in "modules" mode
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteModule.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteModule.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteModule.java
index ea8402668..079e3e674 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteModule.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteModule.java
@@ -210,7 +210,10 @@ public class RemoteModule extends RemoteFolder {
boolean expandable = true;
for (int i = 0; i < children.length; i++) {
RemoteModule child = (RemoteModule)modules.get(children[i].substring(1));
- if (child.isAlias()) {
+ if (child == null) {
+ // invalid module definition
+ expandable = false;
+ } else if (child.isAlias()) {
// Include alias children in-line
expandable = false;
// referencedFolders.addAll(Arrays.asList(child.getChildren()));

Back to the top