[ http://jira.andromda.org/browse/EJB-45?page=comments#action_13591 ]
Pat Casey commented on EJB-45: ------------------------------ Vance suggested I ensure that I have the current SNAPSHOT version. After deleting the maven repository and forcing a download of new files, the problem is resolved. Thanks Vance! > <<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 > Assignee: 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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642