[ http://team.andromda.org:8080/jira/browse/BPM-94?page=history ] Work on BPM-94 started by Wouter Zoons
> 'getControllerCalls' IllegalArgumentException 'metaObject' can not be null > -------------------------------------------------------------------------- > > Key: BPM-94 > URL: http://team.andromda.org:8080/jira/browse/BPM-94 > Project: Bpm4Struts Cartridge > Type: Bug > Reporter: Martin West > Assignee: Wouter Zoons > > > A more informative message would be beneficial for the user. > The problem was that I had not defined the defer event correctly, I had > not associated the event with controller method in the Call Event > Specification dialog (State Spec;detail tab;edit deferable event) > On Wed, 2004-11-03 at 22:18, Martin West wrote: > > Any ideas what might cause this? > > > > I have three usecases/activity diagrams each with controller > > class/stereotyped and each in its own package. > > > > Caused by: org.andromda.core.cartridge.CartridgeException: Error > > performing Cartridge.processWithTemplate with template > > 'templates/StrutsAction.vsl', template context > > '{action=org.andromda.metafacades.uml14.ModelElementFacadeLogicImpl, > > serverValidation=true, welcomeFileName=index.jsp, onlineHelp=true, > > clientValidation=true, > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], xhtml=false, > > maxBreadCrumbs=5, hints=true, > > warningMessagesKey=org.andromda.bpm4struts.warningmessages, > > security=false, dummyData=true, securityRealm=other, > > successMessagesKey=org.andromda.bpm4struts.successmessages}' and > > cartridge 'bpm4struts' > > at > > org.andromda.core.cartridge.Cartridge.processWithTemplate(Cartridge.java:455) > > at > > org.andromda.core.cartridge.Cartridge.processTemplateWithModelElements(Cartridge.java:301) > > ... 40 more > > Caused by: org.apache.velocity.exception.MethodInvocationException: > > Invocation of method 'getControllerCalls' in class > > org.andromda.cartridges.bpm4struts.metafacades.StrutsActionStateLogicImpl threw > > exception class java.lang.IllegalArgumentException : methodName: > > MetafacadeFactory.internalCreateMetafacade - 'metaObject' can not be null > > > > from andromda-bpm4struts.log > > > > 2004-11-03 21:59:44,819 - performing > > VelocityTemplateEngine.processTemplate with templateFile > > 'templates/StrutsAction.vsl' and templateObjects > > '{action=org.andromda.metafacades.uml14.ModelElementFacadeLogicImpl, > > serverValidation=true, welcomeFileName=index.jsp, onlineHelp=true, > > clientValidation=true, > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], xhtml=false, > > maxBreadCrumbs=5, hints=true, > > warningMessagesKey=org.andromda.bpm4struts.warningmessages, > > security=false, dummyData=true, securityRealm=other, > > successMessagesKey=org.andromda.bpm4struts.successmessages}' > > 2004-11-03 21:59:44,844 - Velocimacro : added new VM : #saveMessages( > > transition indent ) : source = templates/StrutsAction.vsl > > 2004-11-03 21:59:45,117 - ResourceManager : found > > templates/StrutsAction.vsl with loader > > org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader > > 2004-11-03 21:59:45,121 - Velocimacro : VM addition rejected : > > processTransition : inline not allowed to replace existing VM > > 2004-11-03 21:59:45,121 - ResourceManager : found > > templates/StrutsAction.vm with loader > > org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader > > 2004-11-03 21:59:45,573 - Method getControllerCalls threw exception for > > reference $actionState in template templates/StrutsAction.vsl at > > [61,30] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://team.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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
