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

Coderanch | zb cong | 4 years ago
  1. 0

    tuscany SDO beginner

    Coderanch | 4 years ago | zb cong
    java.lang.ClassCastException: org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList incompatible with org.eclipse.emf.ecore.EObject
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Tuscany SDO Implementation
      DataObjectImpl.getString
      1. org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.process(DataObjectUtil.java:2237)
      2. org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.init(DataObjectUtil.java:2017)
      3. org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.create(DataObjectUtil.java:1932)
      4. org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.create(DataObjectUtil.java:1926)
      5. org.apache.tuscany.sdo.util.DataObjectUtil.get(DataObjectUtil.java:776)
      6. org.apache.tuscany.sdo.impl.DataObjectImpl.get(DataObjectImpl.java:221)
      7. org.apache.tuscany.sdo.impl.DataObjectImpl.getString(DataObjectImpl.java:426)
      7 frames
    3. Unknown
      Test.main
      1. Test.main(Test.java:19)
      1 frame