Hi,
I use ordered collections in my project, and today I've an exception when I generate the code.
I've got 2 entities with an association. One associationEnd with Ordering : ordered and 2 tagged values : @andromeda.hibernate.collection.index=myIndex
@andromeda.hibernate.collection.type=list
I don't know why, but when I call "maven mda", I've got 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)
......
If I set "Ordering : unordered", I haven't got Exception, and the code is generated but without index....
Thanks for your help...
Sgronf.
------------------------------------------------------- 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-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
