Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis@composent.com2010-10-31 11:47:48 -0400
committerslewis@composent.com2010-10-31 11:47:48 -0400
commitf51a1fb5020bd98824063c8c8eb560656af10d76 (patch)
tree6030d06b7734f6ca02f2bc5c51ee55ff58d4781e
parent499b128c851e82ac73ee28602bfd7a56f18988b4 (diff)
downloadorg.eclipse.ecf-f51a1fb5020bd98824063c8c8eb560656af10d76.tar.gz
org.eclipse.ecf-f51a1fb5020bd98824063c8c8eb560656af10d76.tar.xz
org.eclipse.ecf-f51a1fb5020bd98824063c8c8eb560656af10d76.zip
Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=329161
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistryImpl.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistryImpl.java b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistryImpl.java
index a1137d2c3..d2ac1a59f 100644
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistryImpl.java
+++ b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistryImpl.java
@@ -95,7 +95,9 @@ public class RemoteServiceRegistryImpl implements Serializable {
for (int i = 0; i < size; i++) {
final String clazz = clazzes[i];
final ArrayList services = (ArrayList) publishedServicesByClass.get(clazz);
- services.remove(serviceReg);
+ // Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=329161
+ if (services != null)
+ services.remove(serviceReg);
}
// Remove the ServiceRegistration from the list of all published

Back to the top