java.lang.ClassCastException: org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList incompatible with org.eclipse.emf.ecore.EObject


Solutions on the web

Solution icon of coderanch
via Coderanch by zb cong, 9 months ago
org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList incompatible with org.eclipse.emf.ecore.EObject

Stack trace

java.lang.ClassCastException: org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList incompatible with org.eclipse.emf.ecore.EObject
	at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.process(DataObjectUtil.java:2237)
	at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.init(DataObjectUtil.java:2017)
	at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.create(DataObjectUtil.java:1932)
	at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.create(DataObjectUtil.java:1926)
	at org.apache.tuscany.sdo.util.DataObjectUtil.get(DataObjectUtil.java:776)
	at org.apache.tuscany.sdo.impl.DataObjectImpl.get(DataObjectImpl.java:221)
	at org.apache.tuscany.sdo.impl.DataObjectImpl.getString(DataObjectImpl.java:426)
	at Test.main(Test.java:19)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.