Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » NoSuchMethodException thrown for some services
NoSuchMethodException thrown for some services [message #629347] Mon, 27 September 2010 17:42 Go to next message
Jennifer Carlucci is currently offline Jennifer Carlucci
Messages: 4
Registered: July 2009
Junior Member
I'm having an issue where I'm getting a NoSuchMethodException when calling a method on a remote service using remote OSGI. I tracked it down to the getMethod() method in the class org.eclipse.ecf.internal.provider.r_osgi.RemoteServiceImpl. When a matching method is found and the parameters are looped through to be compared, the isAssignableFrom() call is failing because it's seeing the class from the proxy as being different from the class in my service bundle. Has anyone else ran into something like this and can give me pointers on how to resolve this? This is only happening with some of my services so any tips would be appreciated.
Re: NoSuchMethodException thrown for some services [message #629423 is a reply to message #629347] Tue, 28 September 2010 04:36 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus Kuppe
Messages: 177
Registered: July 2009
Senior Member
On 09/27/2010 11:42 PM, Jennifer Carlucci wrote:
> I'm having an issue where I'm getting a NoSuchMethodException when
> calling a method on a remote service using remote OSGI. I tracked it
> down to the getMethod() method in the class
> org.eclipse.ecf.internal.provider.r_osgi.RemoteServiceImpl. When a
> matching method is found and the parameters are looped through to be
> compared, the isAssignableFrom() call is failing because it's seeing the
> class from the proxy as being different from the class in my service
> bundle. Has anyone else ran into something like this and can give me
> pointers on how to resolve this? This is only happening with some of my
> services so any tips would be appreciated.

Hi Jennifer,

which version of ECF you are on? Can you try with HEAD again? We fixed a
NSME bug a while ago [0].
If this one does not cover your case, please open a new bug.

Thanks
Markus

[0] https://bugs.eclipse.org/302407
Re: NoSuchMethodException thrown for some services [message #629568 is a reply to message #629423] Tue, 28 September 2010 14:08 Go to previous message
Jennifer Carlucci is currently offline Jennifer Carlucci
Messages: 4
Registered: July 2009
Junior Member
That did the trick. Thanks so much!
Previous Topic:Remote service calls handled by one thread when using ecf generic?
Next Topic:Security in ECF
Goto Forum:
  


Current Time: Wed Apr 23 20:02:53 EDT 2014

Powered by FUDForum. Page generated in 0.01750 seconds