Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-04-28 12:21:03 -0400
committerslewis2009-04-28 12:21:03 -0400
commit4da70dec79b3f28c91bc7e27bd99f1ae67a78091 (patch)
tree7cde305d036982c6e62ca6b6aac5a0909582b9d7 /providers/bundles/org.eclipse.ecf.provider.filetransfer
parent65b8d5bc3759e03761a79963fcf1ef430dee161d (diff)
downloadorg.eclipse.ecf-4da70dec79b3f28c91bc7e27bd99f1ae67a78091.tar.gz
org.eclipse.ecf-4da70dec79b3f28c91bc7e27bd99f1ae67a78091.tar.xz
org.eclipse.ecf-4da70dec79b3f28c91bc7e27bd99f1ae67a78091.zip
Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=274078
Diffstat (limited to 'providers/bundles/org.eclipse.ecf.provider.filetransfer')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/internal/provider/filetransfer/Activator.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/internal/provider/filetransfer/Activator.java b/providers/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/internal/provider/filetransfer/Activator.java
index aaaa37e21..7d1e77b93 100644
--- a/providers/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/internal/provider/filetransfer/Activator.java
+++ b/providers/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/internal/provider/filetransfer/Activator.java
@@ -176,7 +176,9 @@ public class Activator implements BundleActivator {
//
}
- protected LogService getLogService() {
+ protected synchronized LogService getLogService() {
+ if (this.context == null)
+ return null;
if (logServiceTracker == null) {
logServiceTracker = new ServiceTracker(this.context, LogService.class.getName(), null);
logServiceTracker.open();

Back to the top