Exception in hibernate cartridge when Invocation of method 
'getCollectionIndexName'
-----------------------------------------------------------------------------------

         Key: HIB-84
         URL: http://galaxy.andromda.org:8080/jira/browse/HIB-84
     Project: Hibernate Cartridge
        Type: Bug
    Versions: 3.0RC1    
    Reporter: Pierre-Yves ROGER
 Assigned to: Martin West 
    Priority: Blocker


Exception in hibernate cartridge when Invocation of method 
'getCollectionIndexName'

Model :

+---------+                      +---------+
!Entity 1 !                      !Entity 2 !     
+---------+                      +---------+
!         !<>------------------->!         !
!         ! 1                 0* !         !
+---------+             ordered  +---------+
                        { @andromeda.hibernate.collection.index=myIndex }
                        { @andromeda.hibernate.collection.type=list }

When generation with : maven mda, this is give an Exception :

Main Exception .: Error performing Cartridge.processTemplateWithModelElements
Root Exception .: org.apache.velocity.exception.MethodInvocationException: 
Invocation of method 'getCollectionIndexName' in  class 
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEndLogicImpl 
threw exception class java.lang.NullPointerException : null
org.apache.velocity.exception.MethodInvocationException: Invocation of method 
'getCollectionIndexName' in  class 
org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEndLogicImpl 
threw exception class java.lang.NullPointerException : null
        at 
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:193)




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://galaxy.andromda.org:8080/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to