| Summary: | [RemoteSrvs] ServicePublicationHandler.createURI(ID, String) fails for StringID[zRkyn9U7y3LN+o8sdei9ZxsX0Yc=] | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] ECF | Reporter: | Markus Kuppe <bugs.eclipse.org> | ||||
| Component: | ecf.remoteservices | Assignee: | Markus Kuppe <bugs.eclipse.org> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | slewis | ||||
| Version: | 3.3.0 | ||||||
| Target Milestone: | 3.4.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Markus Kuppe
How is this occurring? Note: all of this code (ServicePublicationHandler) is likely going away in favor of the new remote services admin implementation...so if a temporary fix can be devised for the use case that creates this situation, then I would favor that. It's the StringID that is created in org.eclipse.ecf.provider.generic.GenericContainerInstantiator.createInstance(ContainerTypeDescription, Object[]) which is later used as an URI in SPH. Btw. why do the tests create the (client) container explicitly in org.eclipse.ecf.tests.osgi.services.distribution.generic.GenericServicePublicationTest? (In reply to comment #3) > Btw. why do the tests create the (client) container explicitly in > org.eclipse.ecf.tests.osgi.services.distribution.generic.GenericServicePublicationTest? Because the tests have been around longer than the OSGi 4.2 remote services impl. More tests should probably be added, but I don't have time to do it. (In reply to comment #2) > It's the StringID that is created in > org.eclipse.ecf.provider.generic.GenericContainerInstantiator.createInstance(ContainerTypeDescription, > Object[]) which is later used as an URI in SPH. Ok. I guess I don't understand why I haven't ever seen this exception before, but no matter. I don't think the ServicePublicationHandler URI value is actually used, so anything can probably be used for createURI. Fix released to master (http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/commit/?id=3a6c4ee5f9fe95f90df6b9d43165f1129092d2d3) Merge to Release_3_4 pending execution of unit tests on build server Created attachment 181524 [details]
mylyn/context/zip
Fix released to Release_3_4 |