Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-04-28 12:18:22 -0400
committerslewis2009-04-28 12:18:22 -0400
commit65b8d5bc3759e03761a79963fcf1ef430dee161d (patch)
treefb6404e726585a9303d625a2f25ce2fe4612cb65 /providers/bundles/org.eclipse.ecf.provider.filetransfer
parent9b121466804ccd48eeef46a92f9f783a66f9d9cc (diff)
downloadorg.eclipse.ecf-65b8d5bc3759e03761a79963fcf1ef430dee161d.tar.gz
org.eclipse.ecf-65b8d5bc3759e03761a79963fcf1ef430dee161d.tar.xz
org.eclipse.ecf-65b8d5bc3759e03761a79963fcf1ef430dee161d.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.java2
1 files changed, 2 insertions, 0 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 15a16d4d7..aaaa37e21 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
@@ -204,6 +204,8 @@ public class Activator implements BundleActivator {
}
public void log(IStatus status) {
+ if (this.context == null)
+ return;
final LogService logService = getLogService();
if (logService != null) {
logService.log(LogHelper.getLogCode(status), LogHelper.getLogMessage(status), status.getException());

Back to the top