Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] problems with XMPPContainer and IRemoteServiceContainerAdapter

The base of this exception looks like the org.eclipse.equinox.concurrent bundle is not present (so that AbstractExecutor class is not found).

On 10/14/2010 9:40 AM, Eugen Reiswich wrote:
I am a bit desperate, my ECF remote service example just won't work with XMPP. Is this exception familiar to you?

java.lang.NoClassDefFoundError: org/eclipse/equinox/concurrent/future/AbstractExecutor
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.eclipse.ecf.internal.provider.xmpp.XMPPRemoteServiceAdapterFactory.createAdapter(XMPPRemoteServiceAdapterFactory.java:47)
at org.eclipse.ecf.core.sharedobject.AbstractSharedObjectContainerAdapterFactory.getSharedObjectAdapter(AbstractSharedObjectContainerAdapterFactory.java:93)
at org.eclipse.ecf.core.sharedobject.AbstractSharedObjectContainerAdapterFactory.getContainerAdapter(AbstractSharedObjectContainerAdapterFactory.java:51)
at org.eclipse.ecf.core.AbstractContainerAdapterFactory.getAdapter(AbstractContainerAdapterFactory.java:32)
at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:326)
at org.eclipse.core.internal.runtime.AdapterManager.loadAdapter(AdapterManager.java:356)
at org.eclipse.ecf.provider.generic.SOContainer.getAdapter(SOContainer.java:298)
at org.eclipse.ecf.provider.xmpp.XMPPContainer.getAdapter(XMPPContainer.java:265)
at org.remotercp.ecf.session.impl.SessionServiceImpl.getRemoteServiceContainerAdapter(SessionServiceImpl.java:90)
at org.remotercp.ecf.session.impl.SessionServiceImpl.registerRemoteService(SessionServiceImpl.java:197)
at org.remotercp.ecf.session.impl.SessionServiceImpl.publishRemoteServicesToUser(SessionServiceImpl.java:312)
at org.remotercp.ecf.session.impl.SessionServiceImpl.access$2(SessionServiceImpl.java:302)
at org.remotercp.ecf.session.impl.SessionServiceImpl$1.handlePresence(SessionServiceImpl.java:279)
at org.eclipse.ecf.internal.provider.xmpp.XMPPContainerPresenceHelper.firePresenceListeners(XMPPContainerPresenceHelper.java:568)
at org.eclipse.ecf.internal.provider.xmpp.XMPPContainerPresenceHelper.handlePresenceEvent(XMPPContainerPresenceHelper.java:557)
at org.eclipse.ecf.internal.provider.xmpp.XMPPContainerPresenceHelper.handleEvent(XMPPContainerPresenceHelper.java:135)
at org.eclipse.ecf.provider.generic.SOWrapper.svc(SOWrapper.java:185)
at org.eclipse.ecf.provider.generic.SOWrapper$2.run(SOWrapper.java:138)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.concurrent.future.AbstractExecutor
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 52 more

Eugen

Am 14.10.2010 um 18:20 schrieb Markus Alexander Kuppe:

On 10/14/2010 06:12 PM, Eugen Reiswich wrote:
Hi Scott, hi Markus,

I just realized that the bundle you both mentioned is in the new Git
Repo but not in CVS. I just imported from Git: compendium, framework,
protocols and providers

It's in CVS too [0] but probably missing in the psfs.

(btw. is there an easier way to do this e.g.
something comparable to projects sets a la releng/org.eclipse.ecf.releng?).

git support for .psf is currently worked on by the egit community. But
if you clone the git repo, you will get all ECF projects at once.

Markus

[0]
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ecf/providers/bundles/org.eclipse.ecf.provider.xmpp.remoteservice/?root=RT_Project

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev

_______________________________________________ ecf-dev mailing list ecf-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ecf-dev


Back to the top