[ http://jira.andromda.org/browse/EJB-45?page=all ]
     
Vance Karimi closed EJB-45:
---------------------------

    Resolution: Fixed

Resolved

> <<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

Reply via email to