Need to add one for Node as well (I re-read you said you had problems with nodes too):

<metafacade
   metaobjectClass="org.omg.uml.foundation.core.Node$Impl"
   metafacadeClass="org.andromda.metafacades.uml14.ClassifierFacadeLogicImpl"/>

Chad


----- Original Message ----- From: "Chad Brandon" <[EMAIL PROTECTED]>
To: "Coleman, Davin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 30, 2004 7:42 AM
Subject: Re: [Andromda-user] Associations between Components cause Exception



Hi Davin,

I just checked in the fix to CVS, you'll need to wait for anon CVS to catch up with development CVS to get it, so in the meantime, you can add the below to your andromda-all/metafacades/uml/uml14/src/META-INF/andromda-metafacades.xml file and rebuild from the andromda-all/metafacdaes/uml/uml14 directory: "maven clean jar:install -o"

<metafacade
   metaobjectClass="org.omg.uml.foundation.core.Component$Impl"

metafacadeClass="org.andromda.metafacades.uml14.ClassifierFacadeLogicImpl"/>

Chad

----- Original Message ----- From: Coleman, Davin
To: 'Chad Brandon'
Sent: Tuesday, September 28, 2004 8:29 AM
Subject: RE: [Andromda-user] Associations between Components cause Exception



Chad

Look in the EEC.design submodel. There is a single implementation diagram which has component A & B with an association. This causes the same exception to be thrown as what I sent you. It would be great if you can get this working. I am constructing the packaging in my model and associated the components which failed AndrMDA. I have had to replace them with dependencies which is not idea. I would like to be able to provide associations.

Thanks for looking.

Davin


-----Original Message-----
From: Chad Brandon [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 15:13
To: Coleman, Davin
Subject: Re: [Andromda-user] Associations between Components cause Exception


Ok so it looks like you're getting a class cast exception during the getType call which means the type is returning something other than ClassifierFacade. Can you send me your model or a model that reproduces the exception and I'll see if I can fix it?
----- Original Message ----- From: Coleman, Davin
To: 'Chad Brandon'
Sent: Tuesday, September 28, 2004 7:41 AM
Subject: RE: [Andromda-user] Associations between Components cause Exception


Thanks Chad

Only a problem if an association occurs between a Component or Node.

Davin


-----Original Message-----
From: Chad Brandon [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 14:28
To: Coleman, Davin; [EMAIL PROTECTED]
Subject: Re: [Andromda-user] Associations between Components cause Exception


Hi Davin,

Can you send me the entire log? It's hard to see whats going on which just this small exception snippet.

Chad
----- Original Message ----- From: Coleman, Davin
To: '[EMAIL PROTECTED]'
Sent: Tuesday, September 28, 2004 3:29 AM
Subject: [Andromda-user] Associations between Components cause Exception


I am getting an exception when running AndroMDA if I setup an association between 2 Components/Node. The exception is below.

ERROR [hibernate] Failed to construct a meta facade of type 'class org.andromda.metafacades.uml14.AssociationEndFacadeLogicImpl' with metaObject of type --> 'class org.omg.uml.foundation.core.AssociationEnd$Impl'
org.andromda.translation.validation.OCLIntrospectorException: java.lang.reflect.InvocationTargetException
at org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospector.java:44)
at org.andromda.metafacades.uml14.AssociationEndFacadeLogic.validateInvariants(AssociationEndFacadeLogic.java:561)
....
... 73 more
Caused by: java.lang.ClassCastException
at org.andromda.metafacades.uml14.AssociationEndFacadeLogic.getType(AssociationEndFacadeLogic.java:369)



------------------------------------------------------------
The information contained in or attached to this email is
intended only for the use of the individual or entity to
which it is addressed. If you are not the intended
recipient, or a person responsible for delivering it to the
intended recipient, you are not authorised to and must not
disclose, copy, distribute, or retain this message or any
part of it. It may contain information which is confidential
and/or covered by legal professional or other privilege (or
other rules or laws with similar effect in jurisdictions
outside England and Wales).
The views expressed in this email are not necessarily the
views of Centrica plc, and the company, its directors,
officers or employees make no representation or accept any
liability for its accuracy or completeness unless expressly
stated to the contrary.




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to