Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-06-07 20:39:36 +0000
committerMichael Valenta2004-06-07 20:39:36 +0000
commit0961c4c464d69e010cccd815337e4acc73717e7d (patch)
treea079553a2a00a79b5531088366da0e7e37bcace1 /bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs
parent338365409efc2e80d881711ec8bd4c3e82f07274 (diff)
downloadeclipse.platform.team-0961c4c464d69e010cccd815337e4acc73717e7d.tar.gz
eclipse.platform.team-0961c4c464d69e010cccd815337e4acc73717e7d.tar.xz
eclipse.platform.team-0961c4c464d69e010cccd815337e4acc73717e7d.zip
Bug 65012 NPE checking out from repository
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CheckoutWizard.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CheckoutWizard.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CheckoutWizard.java
index 8fbfb562a..2cd65dd6d 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CheckoutWizard.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CheckoutWizard.java
@@ -163,7 +163,10 @@ public class CheckoutWizard extends Wizard implements ICVSWizard, INewWizard {
if (page == createLocationPage) {
if (aboutToShow) {
try {
- modulePage.setLocation(getLocation());
+ ICVSRepositoryLocation l = getLocation();
+ if (l != null) {
+ modulePage.setLocation(l);
+ }
} catch (TeamException e1) {
CVSUIPlugin.log(e1);
}

Back to the top