Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Problem with Remote Services

Thanks for all responses, it works.

2009/5/28 Scott Lewis <slewis@xxxxxxxxxxxxxxxxx>
Wojciech,

This indicates that the container type that you are creating (in this case r-osgi) is not present in your runtime configuration.  To use r-osgi provider you need:

org.eclipse.ecf.provider.r-osgi
ch.ethz.iks.r_osgi.remote
org.objectweb.asm

I've opened this bug to improve the exception message so that this is clearer:  https://bugs.eclipse.org/bugs/show_bug.cgi?id=278222

Thanks,

Scott

Wojciech Galanciak wrote:

Hi,

I tried to run tests form org.eclipse.ecf.tests.osgi.services.distribution but unfortunately it threw:
org.eclipse.ecf.core.ContainerCreateException: ContainerTypeDescription cannot be null at org.eclipse.ecf.core.ContainerFactory.throwContainerCreateException(ContainerFactory.java:218) at org.eclipse.ecf.core.ContainerFactory.createContainer(ContainerFactory.java:267) at org.eclipse.ecf.core.ContainerFactory.createContainer(ContainerFactory.java:299) at org.eclipse.ecf.tests.osgi.services.distribution.r_osgi.R_OSGiServiceRegisterTest.createServer(R_OSGiServiceRegisterTest.java:47) at org.eclipse.ecf.tests.ContainerAbstractTestCase.createServerAndClients(ContainerAbstractTestCase.java:194) at org.eclipse.ecf.tests.osgi.services.distribution.r_osgi.R_OSGiServiceRegisterTest.setUp(R_OSGiServiceRegisterTest.java:30) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62) at org.eclipse.pde.internal.junit.runtime.CoreTestApplication.run(CoreTestApplication.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) at org.eclipse.equinox.launcher.Main.main(Main.java:1287)


I have the same situation with org.eclipse.ecf.examples.remoteservices.hello.consumer/client example. I didn’t modify any code. Probably it’s very easy to resolve but it’s my first touch with ECF.

 
------------------------------------------------------------------------


_______________________________________________
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