<<Manageable>> stereotype causes compilation failure - MD11.5/UML2 & EJB3 Cartridge -----------------------------------------------------------------------------------
Key: EJB-45 URL: http://jira.andromda.org/browse/EJB-45 Project: EJB Cartridge Type: Bug Environment: Mac OS/X 10.4 Maven 2 MagicDraw 11.5 / UML2 Export EJB3 Cartridge on AndroMDA 3.2 Reporter: Mark Hunter Assigned to: Vance Karimi This problem: ERROR [ModelProcessor] Error performing ModelProcessor.process with model(s) --> '/Users/markh/Development/Projects/SessionBroker/mda/src/main/uml/SessionBroker.uml2' ERROR [AndroMDA] Exception recorded in --> '/Users/markh/Development/Projects/SessionBroker/ejb3060906083204.exc' [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error running AndroMDA Embedded error: Invocation of method 'filterUpdatableAttributes' in class org.andromda.cartridges.ejb3.EJB3ScriptHelper threw exception class java.lang.ClassCastException : org.andromda.metafacades.emf.uml2.ManageableEntityAttributeLogicImpl with the "Root Exception:" from the log being Root Exception .: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'filterUpdatableAttributes' in class org.andromda.cartridges.ejb3.EJB3ScriptHelper threw exception class java.lang.ClassCastException : org.andromda.metafacades.emf.uml2.ManageableEntityAttributeLogicImpl org.apache.velocity.exception.MethodInvocationException: Invocation of method 'filterUpdatableAttributes' in class org.andromda.cartridges.ejb3.EJB3ScriptHelper threw exception class java.lang.ClassCastException : org.andromda.metafacades.emf.uml2.ManageableEntityAttributeLogicImpl A little bit more information. It seems the problem is associated with the <<Manageable>> stereotype. When i remove that, leaving only <<Entity>>, the thing seems to work. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV