[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] R-OSGi NullPointerException

On 11/28/2010 03:05 PM, Martin Petzold wrote:
> Hi Markus,
> 
> I'm sorry I started SLP and JmDNS together, but I did of course only
> wanted one discovery provider running. But the Exception does still come
> from SLP! The following error is also still with JmDNS:
> 
> [log;+0100 2010.11.28
> 14:57:05:814;ERROR;org.eclipse.ecf.osgi.services.distribution;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.distribution;code=4;message=org.eclipse.ecf.internal.osgi.services.distribution.DiscoveredServiceTrackerImpl:registerRemoteServiceReferences:Remote
> service is null for remote reference
> RemoteServiceReference[remoteServiceID=org.eclipse.ecf.remoteservice.RemoteServiceID[containerID=r-osgi://jumper:9280;containerRelativeID=60];ref=RemoteServiceReference{r-osgi://jumper:9280#60-[devsosgi.Node]}];severity4;exception=null;children=[]]]
> 
> Exception in thread "r-OSGi ChannelWorkerThread0"
> java.lang.NullPointerException
>     at
> ch.ethz.iks.r_osgi.impl.ChannelEndpointImpl.handleMessage(ChannelEndpointImpl.java:1076)
> 
>     at
> ch.ethz.iks.r_osgi.impl.ChannelEndpointImpl$2.run(ChannelEndpointImpl.java:288)
> 
>     at
> ch.ethz.iks.r_osgi.impl.ChannelEndpointImpl$1.run(ChannelEndpointImpl.java:253)
> 
> [log;+0100 2010.11.28
> 14:57:08:528;ERROR;org.eclipse.ecf.osgi.services.distribution;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.distribution;code=4;message=org.eclipse.ecf.internal.osgi.services.distribution.DiscoveredServiceTrackerImpl:handleDiscoveredServiceAvailable:getRemoteServiceReferences
> result is empty. containerHelper=RemoteServiceContainer
> [containerID=r-osgi://jumper:9279,
> container=org.eclipse.ecf.internal.provider.r_osgi.R_OSGiRemoteServiceContainer@303ec561,
> containerAdapter=org.eclipse.ecf.internal.provider.r_osgi.R_OSGiRemoteServiceContainer@303ec561]remoteReferences=null;severity4;exception=null;children=[]]]

Hi Martin,

can you come up with a test case that reproduces the bug? I'm not able
to reproduce it locally. It's best if you file a new bug too?

Markus