Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2016-11-02 17:43:01 -0400
committerGerrit Code Review @ Eclipse.org2016-11-03 14:09:46 -0400
commit230d3053afae0f2a6ae9b8344f66ac994779dd3b (patch)
treeb1c4838096077f87b4744d5718f200105ecf8ac0
parentb9dc82c127485c9f31f552c777f989cf774ed897 (diff)
downloadorg.eclipse.mylyn.tasks-230d3053afae0f2a6ae9b8344f66ac994779dd3b.tar.gz
org.eclipse.mylyn.tasks-230d3053afae0f2a6ae9b8344f66ac994779dd3b.tar.xz
org.eclipse.mylyn.tasks-230d3053afae0f2a6ae9b8344f66ac994779dd3b.zip
fix NPE on synchronizationManager
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TasksUiPlugin.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TasksUiPlugin.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TasksUiPlugin.java
index 84e7d14db..ef7f09191 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TasksUiPlugin.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TasksUiPlugin.java
@@ -293,7 +293,9 @@ public class TasksUiPlugin extends AbstractUIPlugin {
}
}
- synchronizationManager.processPreferenceChange(event);
+ if (synchronizationManager != null) {
+ synchronizationManager.processPreferenceChange(event);
+ }
}
};

Back to the top