Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] r-osgi - Multiplexer must not be constructed from NULL primary endpoint

 Am 18.10.2010 15:28, schrieb Martin Petzold:
Yes, "org.apache.zookeeper_3.3.0" and "org.eclipse.ecf.provider.zookeeper" are ACTIVE.

Is there something wrong the way i registere the service?
I have exactly the same bundles included as the "org.eclipse.ecf.internal.examples.remoteservices.hello.host.HelloHostApplication" example.

By the way system is Windows Vista if it would be any Socket problem. I have also tried to use different ports:

public static final String CONTAINER_ID = "r-osgi://" + Activator.getHost() + ":" + Activator.getPort();
    public static int getPort() {
        try {
            ServerSocket server = new ServerSocket(0);
            int port = server.getLocalPort();
            server.close();
            return port;
        } catch (IOException e) {
            e.printStackTrace();
        }
        return 0;
    }
----------
Framework is launched.

id    Bundle Location
State       Bundle File Name
0    System Bundle
  ACTIVE      org.eclipse.osgi_3.6.0.v20100517
1 initial@reference:file:plugins/org.eclipse.ecf.osgi.services.discovery_1.2.0.v20100913-1814.jar/ ACTIVE org.eclipse.ecf.osgi.services.discovery_1.2.0.v20100913-1814 3 initial@reference:file:plugins/org.eclipse.equinox.app_1.3.0.v20100512.jar/
  ACTIVE      org.eclipse.equinox.app_1.3.0.v20100512
4    initial@reference:file:plugins/org.apache.zookeeper_3.3.0.jar/
  ACTIVE      org.apache.zookeeper_3.3.0
5 initial@reference:file:plugins/org.eclipse.core.jobs_3.5.0.v20100515.jar/
  ACTIVE      org.eclipse.core.jobs_3.5.0.v20100515
6 initial@reference:file:plugins/org.eclipse.ecf.identity_3.1.0.v20100529-0735.jar/
  ACTIVE      org.eclipse.ecf.identity_3.1.0.v20100529-0735
7 initial@reference:file:plugins/org.eclipse.osgi.services_3.2.100.v20100503.jar/
  ACTIVE      org.eclipse.osgi.services_3.2.100.v20100503
11 initial@reference:file:../../../My Dropbox/Distributed Simulation/Diplomarbeit/workspace/DEVSOSGiNode/
  ACTIVE      DEVSOSGiNode_1.0.0.qualifier
14 initial@reference:file:plugins/org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar/
  ACTIVE      org.eclipse.core.contenttype_3.4.100.v20100505-1235
15 initial@reference:file:plugins/org.eclipse.osgi.util_3.2.100.v20100503.jar/
  ACTIVE      org.eclipse.osgi.util_3.2.100.v20100503
16 initial@reference:file:plugins/org.eclipse.ecf.discovery_3.0.0.v20100913-1814.jar/
  ACTIVE      org.eclipse.ecf.discovery_3.0.0.v20100913-1814
18 initial@reference:file:plugins/org.eclipse.ecf.sharedobject_2.2.100.v20100913-1814.jar/
  ACTIVE      org.eclipse.ecf.sharedobject_2.2.100.v20100913-1814
19 initial@reference:file:plugins/org.eclipse.ecf_3.1.0.v20100529-0735.jar/
  ACTIVE      org.eclipse.ecf_3.1.0.v20100529-0735
20 initial@reference:file:plugins/org.eclipse.ecf.provider_3.0.0.v20100913-1814.jar/
  ACTIVE      org.eclipse.ecf.provider_3.0.0.v20100913-1814
22 initial@reference:file:plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar/
  ACTIVE      org.eclipse.equinox.common_3.6.0.v20100503
23 initial@reference:file:plugins/org.eclipse.equinox.concurrent_1.0.100.v20100503.jar/
  ACTIVE      org.eclipse.equinox.concurrent_1.0.100.v20100503
24 initial@reference:file:../../../My Dropbox/Distributed Simulation/Diplomarbeit/workspace/DEVSOSGi/
  ACTIVE      DEVSOSGi_1.0.0.qualifier
28 initial@reference:file:plugins/org.eclipse.ecf.osgi.services.distribution_1.2.0.v20100913-1814.jar/ ACTIVE org.eclipse.ecf.osgi.services.distribution_1.2.0.v20100913-1814 29 initial@reference:file:plugins/org.eclipse.ecf.remoteservice_4.1.0.v20100913-1814.jar/
  ACTIVE      org.eclipse.ecf.remoteservice_4.1.0.v20100913-1814
30 initial@reference:file:plugins/org.apache.log4j_1.2.15.v201005080500.jar/
  ACTIVE      org.apache.log4j_1.2.15.v201005080500
33 initial@reference:file:plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar/
  ACTIVE      org.eclipse.core.runtime_3.6.0.v20100505
37 initial@reference:file:plugins/org.eclipse.equinox.preferences_3.3.0.v20100503.jar/
  ACTIVE      org.eclipse.equinox.preferences_3.3.0.v20100503
39 initial@reference:file:plugins/org.eclipse.equinox.registry_3.5.0.v20100503.jar/
  ACTIVE      org.eclipse.equinox.registry_3.5.0.v20100503
41 initial@reference:file:plugins/org.eclipse.ecf.provider.r_osgi_3.1.0.v20100913-1814.jar/
  ACTIVE      org.eclipse.ecf.provider.r_osgi_3.1.0.v20100913-1814
42 initial@reference:file:plugins/ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20100913-1814.jar/
  ACTIVE      ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20100913-1814
43 initial@reference:file:plugins/org.objectweb.asm_3.2.0.v200909071300.jar/
  ACTIVE      org.objectweb.asm_3.2.0.v200909071300
46    r-osgi://jumper:9280#53
RESOLVED R-OSGi Proxy Bundle generated for Endpoint r-osgi://jumper:9280#53_0.0.0
47    r-osgi://jumper:9279#53
RESOLVED R-OSGi Proxy Bundle generated for Endpoint r-osgi://jumper:9279#53_0.0.0 49 initial@reference:file:plugins/org.eclipse.ecf.provider.zookeeper_1.0.0.v20100913-1814.jar/
  ACTIVE      org.eclipse.ecf.provider.zookeeper_1.0.0.v20100913-1814
50    r-osgi://jumper:9278#53
RESOLVED R-OSGi Proxy Bundle generated for Endpoint r-osgi://jumper:9278#53_0.0.0
51    r-osgi://localhost:9278#53
RESOLVED R-OSGi Proxy Bundle generated for Endpoint r-osgi://localhost:9278#53_0.0.0
----------

Am 18.10.2010 15:12, schrieb Markus Alexander Kuppe:
On 10/18/2010 03:03 PM, Martin Petzold wrote:
  Hey,

i've got some problems using ECF with the r-osgi provider. The
"org.eclipse.ecf.internal.examples.remoteservices.hello.host.HelloHostApplication
example" does work with zookeeper&r-osgi (Hello Service Host
(zookeeper,rosgi).product).

For my Plug-In (Eclipse Helios, ECF 3.3.1.v20100913-1814, no special
command line arguments) i did this in my Activator start():

private static final String CONTAINER_TYPE = "ecf.r_osgi.peer";
public static final String CONTAINER_ID = "r-osgi://localhost:9278";
[...]
// Register a (remote) node service
Properties properties = new Properties();
properties.put("service.exported.interfaces", "*");
properties.put("service.exported.configs", CONTAINER_TYPE);
properties.put("org.eclipse.ecf.containerFactoryArgs", CONTAINER_ID);
this.nodeService = bundleContext.registerService(Node.class.getName(),
new DefaultNode(), properties);

And i get this Exception...can anyone help me, i'm realy confused!

!ENTRY R-OSGi Proxy Bundle generated for Endpoint
r-osgi://jumper:9280#53 4 0 2010-10-18 14:50:04.960
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
proxy.jumper_jciafd.de.ooflex.devsosgi.NodeImpl.start() of bundle R-OSGi
Proxy Bundle generated for Endpoint r-osgi://jumper:9280#53.
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
     at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
     at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
     at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
     at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
Caused by: java.lang.IllegalArgumentException: Multiplexer must not be
constructed from NULL primary endpoint
     at
ch.ethz.iks.r_osgi.impl.ChannelEndpointMultiplexer.<init>(ChannelEndpointMultiplexer.java:84)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getMultiplexer(RemoteOSGiServiceImpl.java:892)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getEndpoint(RemoteOSGiServiceImpl.java:869) at proxy.jumper_jciafd.de.ooflex.devsosgi.NodeImpl.start(Unknown Source)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
     at java.security.AccessController.doPrivileged(Native Method)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
     ... 11 more
Root exception:
java.lang.IllegalArgumentException: Multiplexer must not be constructed
from NULL primary endpoint
     at
ch.ethz.iks.r_osgi.impl.ChannelEndpointMultiplexer.<init>(ChannelEndpointMultiplexer.java:84)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getMultiplexer(RemoteOSGiServiceImpl.java:892)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getEndpoint(RemoteOSGiServiceImpl.java:869) at proxy.jumper_jciafd.de.ooflex.devsosgi.NodeImpl.start(Unknown Source)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
     at java.security.AccessController.doPrivileged(Native Method)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
     at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
     at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
     at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
     at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY R-OSGi Proxy Bundle generated for Endpoint
r-osgi://jumper:9279#53 4 0 2010-10-18 14:50:04.962
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
proxy.jumper_jchjfd.de.ooflex.devsosgi.NodeImpl.start() of bundle R-OSGi
Proxy Bundle generated for Endpoint r-osgi://jumper:9279#53.
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
     at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
     at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
     at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
     at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
Caused by: java.lang.IllegalArgumentException: Multiplexer must not be
constructed from NULL primary endpoint
     at
ch.ethz.iks.r_osgi.impl.ChannelEndpointMultiplexer.<init>(ChannelEndpointMultiplexer.java:84)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getMultiplexer(RemoteOSGiServiceImpl.java:892)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getEndpoint(RemoteOSGiServiceImpl.java:869) at proxy.jumper_jchjfd.de.ooflex.devsosgi.NodeImpl.start(Unknown Source)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
     at java.security.AccessController.doPrivileged(Native Method)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
     ... 11 more
Root exception:
java.lang.IllegalArgumentException: Multiplexer must not be constructed
from NULL primary endpoint
     at
ch.ethz.iks.r_osgi.impl.ChannelEndpointMultiplexer.<init>(ChannelEndpointMultiplexer.java:84)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getMultiplexer(RemoteOSGiServiceImpl.java:892)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getEndpoint(RemoteOSGiServiceImpl.java:869) at proxy.jumper_jchjfd.de.ooflex.devsosgi.NodeImpl.start(Unknown Source)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
     at java.security.AccessController.doPrivileged(Native Method)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
     at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
     at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
     at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
     at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.ecf.provider.zookeeper 4 0 2010-10-18 14:50:04.965
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle
"org.eclipse.ecf.provider.zookeeper_1.0.0.v20100913-1814 [49]" could not
be resolved. Reason: Missing Constraint: Import-Package:
org.apache.zookeeper; version="0.0.0"
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
     at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
     at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
     at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
     at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY R-OSGi Proxy Bundle generated for Endpoint
r-osgi://jumper:9278#53 4 0 2010-10-18 14:50:04.979
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
proxy.jumper_jchifd.de.ooflex.devsosgi.NodeImpl.start() of bundle R-OSGi
Proxy Bundle generated for Endpoint r-osgi://jumper:9278#53.
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
     at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
     at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
     at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
     at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
Caused by: java.lang.IllegalArgumentException: Multiplexer must not be
constructed from NULL primary endpoint
     at
ch.ethz.iks.r_osgi.impl.ChannelEndpointMultiplexer.<init>(ChannelEndpointMultiplexer.java:84)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getMultiplexer(RemoteOSGiServiceImpl.java:892)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getEndpoint(RemoteOSGiServiceImpl.java:869) at proxy.jumper_jchifd.de.ooflex.devsosgi.NodeImpl.start(Unknown Source)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
     at java.security.AccessController.doPrivileged(Native Method)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
     ... 11 more
Root exception:
java.lang.IllegalArgumentException: Multiplexer must not be constructed
from NULL primary endpoint
     at
ch.ethz.iks.r_osgi.impl.ChannelEndpointMultiplexer.<init>(ChannelEndpointMultiplexer.java:84)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getMultiplexer(RemoteOSGiServiceImpl.java:892)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getEndpoint(RemoteOSGiServiceImpl.java:869) at proxy.jumper_jchifd.de.ooflex.devsosgi.NodeImpl.start(Unknown Source)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
     at java.security.AccessController.doPrivileged(Native Method)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
     at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
     at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
     at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
     at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY R-OSGi Proxy Bundle generated for Endpoint
r-osgi://localhost:9278#53 4 0 2010-10-18 14:50:04.980
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
proxy.localhost_jchifd.de.ooflex.devsosgi.NodeImpl.start() of bundle
R-OSGi Proxy Bundle generated for Endpoint r-osgi://localhost:9278#53.
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
     at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
     at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
     at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
     at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
Caused by: java.lang.IllegalArgumentException: Multiplexer must not be
constructed from NULL primary endpoint
     at
ch.ethz.iks.r_osgi.impl.ChannelEndpointMultiplexer.<init>(ChannelEndpointMultiplexer.java:84)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getMultiplexer(RemoteOSGiServiceImpl.java:892)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getEndpoint(RemoteOSGiServiceImpl.java:869) at proxy.localhost_jchifd.de.ooflex.devsosgi.NodeImpl.start(Unknown
Source)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
     at java.security.AccessController.doPrivileged(Native Method)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
     ... 11 more
Root exception:
java.lang.IllegalArgumentException: Multiplexer must not be constructed
from NULL primary endpoint
     at
ch.ethz.iks.r_osgi.impl.ChannelEndpointMultiplexer.<init>(ChannelEndpointMultiplexer.java:84)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getMultiplexer(RemoteOSGiServiceImpl.java:892)
     at
ch.ethz.iks.r_osgi.impl.RemoteOSGiServiceImpl.getEndpoint(RemoteOSGiServiceImpl.java:869) at proxy.localhost_jchifd.de.ooflex.devsosgi.NodeImpl.start(Unknown
Source)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
     at java.security.AccessController.doPrivileged(Native Method)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
     at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
     at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
     at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
     at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
     at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
     at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
     at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

Thanks!

Martin
command line argument "-clean" solved the problem :-)


Back to the top