Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » NoSuchMethodException thrown for some services
NoSuchMethodException thrown for some services [message #629347] Mon, 27 September 2010 21:42 Go to next message
Jennifer Carlucci is currently offline Jennifer CarlucciFriend
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 08:36 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
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 18:08 Go to previous message
Jennifer Carlucci is currently offline Jennifer CarlucciFriend
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: Fri Mar 29 05:00:56 GMT 2024

Powered by FUDForum. Page generated in 0.03891 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top