Community
Participate
Working Groups
In RemoteServiceRegistryImpl class, unpublish method is this code final ArrayList services = (ArrayList) publishedServicesByClass.get(clazz); services.remove(clazz) If the clazz has previously been removed, then the services.remove(clazz) line will cause an NPE (as services will be null). This should be changed to: final ArrayList services = (ArrayList) publishedServicesByClass.get(clazz); if (services != null) services.remove(serviceReg); so that unpublish will be safely idempotent.
Fix pushed to master.
If this is intended to appear in 3.4.1, I suggest fixing it in Release_3_4 first and then merge it to master. This is more easily done than picking individual commits from master.
(In reply to comment #2) > If this is intended to appear in 3.4.1, I suggest fixing it in Release_3_4 > first and then merge it to master. This is more easily done than picking > individual commits from master. Yes, for future I will fix it in Release_3_4 first, but I still don't have command line client to do merge, and so please merge it into the Release_3_4 stream for this occasion. I'll get fully instrumented as quickly as I can.
(In reply to comment #3) > please merge it into the Release_3_4 > stream for this occasion. Done