Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Incompatible type requested for parameter field (emf+teneo+jpox)
Incompatible type requested for parameter field (emf+teneo+jpox) [message #609416] Fri, 03 August 2007 06:26
Eclipse UserFriend
Originally posted by: danceslower.sina.com

hi all
I'm useing emf and teneo to persistence my object, when i try to persist
an object including references of EList, when the code proceed to
persistenceManager.makePersistence(object), an incompatible type exception
is throwed, here is the Exception:
//////////////////////////////////////////
javax.servlet.ServletException: Incompatible type requested for parameter
field : was org.eclipse.emf.common.util.EList but should be
java.util.ArrayList: class = com.ibm.crl.bo.tops.data.impl.PartDataImpl,
field = belowList
org.apache.struts.chain.ComposableRequestProcessor.process(C omposableRequestProcessor.java:286)
org.apache.struts.action.ActionServlet.process(ActionServlet .java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet. java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.ibm.crl.bo.tops.util.SetCharacterEncodingFilter.doFilter (SetCharacterEncodingFilter.java:33)
////////////////////////////////////////////In which,belowList is an EList
type reference in PartDataImpl.where is the problem?please help me!
Previous Topic:[EMF Transaction] ConcurrentModificationException while unloading a resource
Next Topic:[EMF Transaction] ConcurrentModificationException while unloading a resource
Goto Forum:
  


Current Time: Fri Apr 19 20:03:22 GMT 2024

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

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

Back to the top