Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-05-29 03:16:02 +0000
committerslewis2008-05-29 03:16:02 +0000
commita1135748fef6878626741a4519f70bb7bfb057e7 (patch)
tree6c5cf6338e34b4c4c908d943053c39a88bd8b1eb
parentdb6d15cfc044f2ce1465dbcc0479028df2d792db (diff)
downloadorg.eclipse.ecf-a1135748fef6878626741a4519f70bb7bfb057e7.tar.gz
org.eclipse.ecf-a1135748fef6878626741a4519f70bb7bfb057e7.tar.xz
org.eclipse.ecf-a1135748fef6878626741a4519f70bb7bfb057e7.zip
Check for null service ID
-rw-r--r--framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/discovery/ui/views/AbstractRemoteServiceAccessHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/discovery/ui/views/AbstractRemoteServiceAccessHandler.java b/framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/discovery/ui/views/AbstractRemoteServiceAccessHandler.java
index e16333fed..5b0dd73e0 100644
--- a/framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/discovery/ui/views/AbstractRemoteServiceAccessHandler.java
+++ b/framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/discovery/ui/views/AbstractRemoteServiceAccessHandler.java
@@ -134,7 +134,8 @@ public abstract class AbstractRemoteServiceAccessHandler implements IServiceAcce
if (serviceNamespace != null && serviceid != null) {
serviceID = createID(serviceNamespace, serviceid);
}
- return adapter.getRemoteServiceReferences(new ID[] {serviceID}, getRemoteServiceClass(), getFilter());
+ ID[] targets = (serviceID == null) ? null : new ID[] {serviceID};
+ return adapter.getRemoteServiceReferences(targets, getRemoteServiceClass(), getFilter());
}
protected IContainer createContainer() throws ContainerCreateException {

Back to the top