[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ecf-dev] getting started with ECF
|
Remy,
Many thanks for your help. I think this bundle is in my launch
configuration. Not 100% sure because i am not accustomed to using
products (I am launching the app by clicking "Launch an Eclipse
application" from within the product for bundle
org.eclipse.ecf.examples.remoteservices.hello.host.rs)
Looking at the product's dependencies, I see these
<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.ecf"/>
<plugin id="org.eclipse.ecf.discovery"/>
<plugin id="org.eclipse.ecf.examples.remoteservices.hello"/>
<plugin id="org.eclipse.ecf.examples.remoteservices.hello.host.rs"/>
<plugin id="org.eclipse.ecf.identity"/>
<plugin id="org.eclipse.ecf.provider"/>
<plugin id="org.eclipse.ecf.remoteservice"/>
<plugin id="org.eclipse.ecf.sharedobject"/>
<plugin id="org.eclipse.ecf.ssl" fragment="true"/>
<plugin id="org.eclipse.equinox.common"/>
<plugin id="org.eclipse.equinox.concurrent"/>
<plugin id="org.eclipse.equinox.registry"/>
<plugin id="org.eclipse.osgi"/>
<plugin id="org.eclipse.osgi.services"/>
<plugin id="org.objectweb.asm"/>
Looking at the bundle's imported packages, i see these.
org.eclipse.ecf.core;version="3.0.0",
org.eclipse.ecf.core.identity;version="3.0.0",
org.eclipse.ecf.examples.remoteservices.hello,
org.eclipse.ecf.examples.remoteservices.hello.impl,
org.eclipse.ecf.remoteservice,
org.osgi.framework;version="1.3.0",
org.osgi.util.tracker
Thanks again,
Dave Donohue
On Thu, Sep 24, 2009 at 7:36 AM, Remy Suen <remysuen@xxxxxxxxxx> wrote:
> ecf-dev-bounces@xxxxxxxxxxx wrote on 24/09/2009 06:51:44 AM:
>> Again my thanks! Now I am getting
>> java.lang.NullPointerException
>> on this line
>> serviceRegistration = containerAdapter.registerRemoteService(
>> new String[] { IHello.class.getName() }, new Hello(), null);
>
> I'm guessing 'containerAdapter' is null. I think this may be caused by the
> absence of the org.eclipse.ecf.provider.remoteservice bundle in your launch
> configuration.
>
> Regards,
> Remy
>
> ----------
> Remy Suen
> Rational Team Concert Developer, Eclipse Platform/UI Committer
> IBM Ottawa
> 613-356-5162
>
> _______________________________________________
> ecf-dev mailing list
> ecf-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ecf-dev
>
>