[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Cannot delete connection when specified field in the property isfilled in with content

Hi Alex,

thanks very much, your advice was brilliant :). My model was not updated. Now everything works fine.

Regards



Hello Bonkers,

Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be
cast to org.eclipse.emf.ecore.EObject at org.eclipse.emf.ecore.util.ECrossReferenceAdapter.handleCrossReference(ECrossReferenceAdapter.java:608)


at org.eclipse.emf.ecore.util.ECrossReferenceAdapter.selfAdapt(ECrossReferenceAdapter.java:447)

I'm suggesting you yo pout breakpoint somewhere here to see the reason of this class cast exception (particular reference in your domain model)...

The strange thing is: exception was caused by calling org.eclipse.erm.schema.impl.RelationImpl.unsetFK_Reference(RelationImpl.java:369). AFAIKSee from the trace old value of this feature was instance of java.lang.Boolean, in the same time EMF AFAIU is waiting for EObject instance here (based on the metainformation of your model..)

-----------------
Alex Shatalin