java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection

tuscany-dev | Sören Balko (JIRA) | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.ClassCastException

    java.lang.String cannot be cast to java.util.Collection

    at org.eclipse.emf.ecore.change.util.ChangeRecorder.handleFeature()
  2. org.eclipse.emf.ecore.change_2.10.0.v20140901-1043.jar
    ChangeRecorder.notifyChanged
    1. org.eclipse.emf.ecore.change.util.ChangeRecorder.handleFeature(ChangeRecorder.java:428)
    2. org.eclipse.emf.ecore.change.util.ChangeRecorder.notifyChanged(ChangeRecorder.java:312)
    2 frames
  3. Tuscany SDO Implementation
    DataObjectImpl.eNotify
    1. org.apache.tuscany.sdo.impl.ChangeSummaryImpl$SDOChangeRecorder.notifyChanged(ChangeSummaryImpl.java:486)
    2. org.apache.tuscany.sdo.impl.DataObjectImpl.eNotify(DataObjectImpl.java:1374)
    2 frames
  4. org.eclipse.emf.ecore
    EcoreEList.dispatchNotification
    1. org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:234)
    1 frame
  5. org.eclipse.emf.common
    BasicEList.add
    1. org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:302)
    2. org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:600)
    2 frames