Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2003-07-16 16:40:28 +0000
committerJean Michel-Lemieux2003-07-16 16:40:28 +0000
commit8e7ab769091e0d61c536361311a1cec0165bc316 (patch)
tree848e6e33e19760f5092cd87293558e77dff8f2ce
parent015b663a9d26b61a66cfdd95fe1129ce487f2ea8 (diff)
downloadeclipse.platform.team-8e7ab769091e0d61c536361311a1cec0165bc316.tar.gz
eclipse.platform.team-8e7ab769091e0d61c536361311a1cec0165bc316.tar.xz
eclipse.platform.team-8e7ab769091e0d61c536361311a1cec0165bc316.zip
Possible NPE in refreshWithRemote
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/views/SyncViewer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/views/SyncViewer.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/views/SyncViewer.java
index 3cbe5fe57..de0459dd0 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/views/SyncViewer.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/views/SyncViewer.java
@@ -826,7 +826,7 @@ public class SyncViewer extends ViewPart implements ITeamResourceChangeListener,
public void refreshWithRemote(TeamSubscriber subscriber, IResource[] resources) {
QualifiedName id = subscriber.getId();
if(subscriberInputs.containsKey(id)) {
- if(! input.getSubscriber().getId().equals(id)) {
+ if(input != null && ! input.getSubscriber().getId().equals(id)) {
initializeSubscriberInput((SubscriberInput)subscriberInputs.get(id));
}
RefreshAction.run(this, resources, subscriber);

Back to the top