[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] dnssd in Eclipse

Hi folks,

When I install ECF 3.10.0 sdk into Eclipse Mars and start/restart I get the exceptions below upon startup (before the workspace launch is even shown!).

These appear to be associated with dnssd discovery. Does anyone understand what's (not) going on here? Is this something to do with network config? It would be nice to eliminate this for 3.10.1 (Aug 10) if possible. I've created the following bug to track:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=472973

Thanksinadvance,

Scott


------ eclipse log output

org.eclipse.ecf.core.ContainerConnectException: No target id given and fallbacks
failed
at org.eclipse.ecf.provider.dnssd.DnsSdDiscoveryLocator.connect(DnsSdDis
coveryLocator.java:196)
at org.eclipse.ecf.provider.dnssd.Activator$DnsSdServiceFactory.getServi
ce(Activator.java:215)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(Ser
viceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGe
tService(ServiceFactoryUse.java:210)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getServic
e(ServiceFactoryUse.java:111)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getServic
e(ServiceConsumer.java:45)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.get
Service(ServiceRegistrationImpl.java:496)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(
ServiceRegistry.java:461)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(Bund
leContextImpl.java:619)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionL
ocator$LocatorTrackerCustomizer.addingService(EndpointDescriptionLocator.java:70
6)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(Service
Tracker.java:941)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(Service
Tracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.jav
a:256)
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.ja
va:183)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionL
ocator.start(EndpointDescriptionLocator.java:340)
at org.eclipse.ecf.internal.osgi.services.remoteserviceadmin.Activator.s
tart(Activator.java:296)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleCon
textImpl.java:771)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleCon
textImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(
BundleContextImpl.java:764)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleCon
textImpl.java:721)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(Equino
xBundle.java:941)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.start
Worker(EquinoxBundle.java:318)
at org.eclipse.osgi.container.Module.doStart(Module.java:571)
at org.eclipse.osgi.container.Module.start(Module.java:439)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:
454)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass
(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocal
Class(ClasspathManager.java:531)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(Mod
uleClassLoader.java:324)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLo
ader.java:327)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClas
s(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Bundl
eLoader.java:386)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
java:352)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.
java:344)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleCl
assLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethods(Unknown Source)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.getMethod(Serv
iceComponent.java:126)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(Servi
ceComponent.java:213)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(S
erviceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(Serv
iceComponentProp.java:345)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(Instan
ceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(Insta
nceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver
.java:473)
at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.ja
va:217)
at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.jav
a:816)
at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRMana
ger.java:783)
at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at java.lang.Thread.run(Unknown Source)


!ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2015-07-17 11:58:15.
017
!MESSAGE org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.re
moteserviceadmin;code=4;message=org.eclipse.ecf.osgi.services.remoteserviceadmin
.EndpointDescriptionLocator:processInitialLocatorServices:Exception in locator.g
etServices();severity4;exception=java.lang.UnsupportedOperationException: This i
s not an IDiscoveryLocator;children=[]]
!STACK 0
java.lang.UnsupportedOperationException: This is not an IDiscoveryLocator
at org.eclipse.ecf.provider.dnssd.DnsSdDiscoveryContainerAdapter.getServ
ices(DnsSdDiscoveryContainerAdapter.java:83)
at org.eclipse.ecf.provider.discovery.CompositeDiscoveryContainer.getSer
vices(CompositeDiscoveryContainer.java:320)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionL
ocator$5.run(EndpointDescriptionLocator.java:608)
at org.eclipse.equinox.concurrent.future.SingleOperationListenableFuture
$1.run(SingleOperationListenableFuture.java:77)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.equinox.concurrent.future.SingleOperationListenableFuture
.runWithProgress(SingleOperationListenableFuture.java:65)
at org.eclipse.equinox.concurrent.future.ThreadsExecutor$1.run(ThreadsEx
ecutor.java:57)
at java.lang.Thread.run(Unknown Source)
osgi>