Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Remote Services with EMF generated objects and TENEO
Remote Services with EMF generated objects and TENEO [message #1009082] Thu, 14 February 2013 11:54 Go to next message
Martin Maier is currently offline Martin MaierFriend
Messages: 1
Registered: February 2013
Junior Member

I have a project where I want to use the Riena remote services for transferring model objects from the server to the client.

On server side I have a model generated with EMF and persisted with TENEO and Hibernate.

When calling a method on the server, I get the following exception:

com.caucho.hessian.client.HessianRuntimeException: org.eclipse.emf.ecore.impl.EObjectImpl.eAdapters: java.util.ArrayList ([org.eclipse.emf.teneo.type.PersistentStoreAdapter@56431753]) cannot be assigned to 'org.eclipse.emf.common.util.BasicEList'
at com.caucho.hessian.client.HessianProxy.invoke(
at $Proxy25.getUsers(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.riena.communication.core.hooks.AbstractHooksProxy.invoke(
at org.eclipse.riena.communication.core.hooks.AbstractHooksProxy.invoke(
at org.eclipse.riena.internal.communication.core.factory.CallHooksProxy.invoke(
at $Proxy26.getUsers(Unknown Source)

Has anybody encountered the same problem and knows how to solve this?

Re: Remote Services with EMF generated objects and TENEO [message #1009183 is a reply to message #1009082] Thu, 14 February 2013 16:05 Go to previous message
Christian Campo is currently offline Christian CampoFriend
Messages: 593
Registered: July 2009
Senior Member
I think this problem is related to this bugzilla
Previous Topic:services fail with same method names
Next Topic:checkbox -> togglebutton
Goto Forum:

Current Time: Wed Nov 25 10:41:18 GMT 2015

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

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