Hi Woulter,

I've got the following error:

andromda-bpm4struts.log:
...
2004-03-31 16:22:46,847 - set context as -->
'org.andromda.cartridges.bpm4struts.metafacades.StrutsAction'
2004-03-31 16:22:46,847 - Method getForwardPath threw exception for
reference $actionForward in template templates/StrutsAction.vsl at  [51,17]

andromda.log:
...
2004-03-31 16:22:46,667 INFO  [bpm4struts] Output:
'file:/C:/Projetos/biblioteca/src/manual/struts/biblioteca/processo/cadastro/autor/EntrarComDadosDoAutorSalvar.java'
2004-03-31 16:22:46,747 INFO  [bpm4struts] Output:
'file:/C:/Projetos/biblioteca/src/manual/struts/biblioteca/processo/menuprincipal/MenuPrincipal.java'
2004-03-31 16:22:46,857 ERROR
[org.andromda.core.cartridge.DefaultAndroMDACartridge] Error performing
DefaultAndroMDACartridge.processWithTemplate with template
'templates/StrutsAction.vsl', template context '{securityEnabled=false,
[EMAIL PROTECTED],
[EMAIL PROTECTED], securityRealm=}'
and cartridge 'bpm4struts'
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getForwardPath' in  class
org.andromda.cartridges.bpm4struts.metafacades.StrutsActionLogicImpl threw
exception class java.util.NoSuchElementException : null
        at
org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:188)
        at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226)
        at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
        at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
        at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
        at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
        at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)
...

It happens when one of the final states has the same name of a specific
usecase. If I change to another usecase, or to an inexistent usecase, the
error stops.

Any Ideas ?

---------------------------------------------------------------------------
Walter Itamar Mour�o - Diretor de Tecnologia e Projetos - Arcadian S/A
www.arcadian.com.br



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to