Thank you very much, but I'm talking about the exception "org.andromda.translation.validation.OCLIntrospectorException:"...
It's only happening with the M2 "final" and the M3 snapshot. One comment: I double checked the final states names against the use case names. Other comment: It's is running very slow. Regards, Walter <[EMAIL PROTECTED]> grava: >It seems you final states have names but they are not equal to the names >of the use-cases you are targetting (case-sensitive) > >-- Wouter > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:andromda-user- >> [EMAIL PROTECTED] On Behalf Of Chad Brandon >> Sent: Tuesday, August 17, 2004 3:00 PM >> To: Walter Mourco >> Cc: [EMAIL PROTECTED] >> Subject: [Andromda-user] Re: Help! >> >> Hi Walter, >> >> If you see below, those are validation messages, so >> basically things that need to be fixed in your model >> in order for it to be processed correctly. If you fix >> the things those messages say, the exceptions (and >> messages below that) should go away. >> >> Chad >> >> >> --- Walter Mour�o <[EMAIL PROTECTED]> wrote: >> >> > Hi Chad, I've got the last build (the sourceforge >> > cvs isn't working yet) >> > and I've got the following error: >> > >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > >> 'file:/c:/projetos/previne/src/merge/web-sec-roles.xml' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/src/merge/filters.xml' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > >> 'file:/c:/projetos/previne/src/merge/filter-mappings.xml' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/login/login-form.jsp' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/login/login-error.jsp' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/layout/menu.jsp' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/layout/main-layout.jsp' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/WEB-INF/tiles-defs.xml' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > >> 'file:/c:/projetos/previne/layout/default-application.css' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/layout/default.css' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/layout/messages.jsp' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/layout/calendar-js.jsp' >> > [andromda] INFO [AndroMDA:bpm4struts] Output: >> > 'file:/c:/projetos/previne/layout/calendar.jsp' >> > [andromda] ERROR [bpm4struts] Failed to construct a >> > meta facade of type >> > 'class org.andromda.cartridges.bpm4st >> > ruts.metafacades.StrutsParameterLogicImpl' with >> > metaObject of type --> >> > 'class org.omg.uml.foundation.core.Para >> > meter$Impl' >> > [andromda] >> > >> org.andromda.translation.validation.OCLIntrospectorException: >> > org.andromda.translation.validation. >> > OCLIntrospectorException: >> > java.lang.reflect.InvocationTargetException >> > [andromda] at >> > >> >org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospect >or >> .java:44) >> > [andromda] at >> > >> >org.andromda.cartridges.bpm4struts.metafacades.StrutsParameterLogic.vali >da >> teInvariants(Stru >> > tsParameterLogic.java:1111) >> > [andromda] at >> > >> >org.andromda.core.metafacade.MetafacadeBase.validate(MetafacadeBase.java >:6 >> 8) >> > [andromda] at >> > >> >org.andromda.core.metafacade.MetafacadeFactory.internalCreateMetafacade( >Me >> tafacadeFactory.j >> > ava:292) >> > [andromda] at >> > >> >org.andromda.core.metafacade.MetafacadeFactory.createMetafacades(Metafac >ad >> eFactory.java:529 >> > ) >> > [andromda] at >> > >> >org.andromda.core.metafacade.MetafacadeFactory.createMetafacades(Metafac >ad >> eFactory.java:548 >> > ) >> > [andromda] at >> > >> >org.andromda.metafacades.uml14.UMLModelAccessFacade.getModelElements(UML >Mo >> delAccessFacade.j >> > ava:146) >> > [andromda] at >> > >> >org.andromda.core.cartridge.Cartridge.processTemplate(Cartridge.java:145 >) >> > [andromda] at >> > >> >org.andromda.core.cartridge.Cartridge.processModelElements(Cartridge.jav >a: >> 95) >> > [andromda] at >> > >> org.andromda.core.ModelProcessor.process(ModelProcessor.java:246) >> > [andromda] at >> > >> org.andromda.core.ModelProcessor.process(ModelProcessor.java:142) >> > [andromda] at >> > >> >org.andromda.core.anttasks.AndroMDAGenTask.execute(AndroMDAGenTask.java: >22 >> 0) >> > [andromda] at >> > >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) >> > [andromda] at >> > org.apache.tools.ant.Task.perform(Task.java:364) >> > [andromda] at >> > org.apache.tools.ant.Target.execute(Target.java:301) >> > [andromda] at >> > >> org.apache.tools.ant.Target.performTasks(Target.java:328) >> > [andromda] at >> > >> org.apache.tools.ant.Project.executeTarget(Project.java:1215) >> > [andromda] at >> > >> org.apache.tools.ant.Project.executeTargets(Project.java:1063) >> > [andromda] at >> > org.apache.tools.ant.Main.runBuild(Main.java:632) >> > [andromda] at >> > org.apache.tools.ant.Main.startAnt(Main.java:183) >> > [andromda] at >> > >> org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) >> > [andromda] at >> > >> org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) >> > [andromda] Caused by: >> > >> org.andromda.translation.validation.OCLIntrospectorException: >> > java.lang.reflect.Invocat >> > ionTargetException >> > [andromda] at >> > >> >org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospect >or >> .java:67) >> > [andromda] at >> > >> >org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospect >or >> .java:37) >> > [andromda] ... 21 more >> > [andromda] Caused by: >> > java.lang.reflect.InvocationTargetException >> > [andromda] at >> > >> sun.reflect.GeneratedMethodAccessor198.invoke(Unknown >> > Source) >> > [andromda] at >> > >> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor >Im >> pl.java:25) >> > [andromda] at >> > java.lang.reflect.Method.invoke(Method.java:324) >> > [andromda] at >> > >> >org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2 >16 >> ) >> > [andromda] at >> > >> >org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:1 >62 >> ) >> > [andromda] at >> > >> >org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospect >or >> .java:63) >> > [andromda] ... 22 more >> > [andromda] Caused by: >> > java.lang.NullPointerException >> > [andromda] at >> > >> >org.andromda.cartridges.bpm4struts.metafacades.StrutsParameterLogicImpl. >ha >> ndleIsTable(Strut >> > sParameterLogicImpl.java:161) >> > [andromda] at >> > >> >org.andromda.cartridges.bpm4struts.metafacades.StrutsParameterLogic.isTa >bl >> e(StrutsParameter >> > Logic.java:497) >> > [andromda] ... 28 more >> > [andromda] ERROR [ModelProcessor] Error performing >> > ModelProcessor.process >> > with model(s) --> 'file:C:/Projetos >> > /previne-gen/uml/Previne.xml' >> > [andromda] >> > >> org.andromda.core.metafacade.MetafacadeFactoryException: >> > Failed to construct a meta facade of type >> > 'class >> > >> >org.andromda.cartridges.bpm4struts.metafacades.StrutsParameterLogicImpl' >> > with metaObject of type --> ' >> > class org.omg.uml.foundation.core.Parameter$Impl' >> > [andromda] at >> > >> >org.andromda.core.metafacade.MetafacadeFactory.internalCreateMetafacade( >Me >> tafacadeFactory.j >> > ava:303) >> > [andromda] at >> > >> >org.andromda.core.metafacade.MetafacadeFactory.createMetafacades(Metafac >ad >> eFactory.java:529 >> > ) >> > [andromda] at >> > >> >org.andromda.core.metafacade.MetafacadeFactory.createMetafacades(Metafac >ad >> eFactory.java:548 >> > ) >> > [andromda] at >> > >> >org.andromda.metafacades.uml14.UMLModelAccessFacade.getModelElements(UML >Mo >> delAccessFacade.j >> > ava:146) >> > [andromda] at >> > >> >org.andromda.core.cartridge.Cartridge.processTemplate(Cartridge.java:145 >) >> > [andromda] at >> > >> >org.andromda.core.cartridge.Cartridge.processModelElements(Cartridge.jav >a: >> 95) >> > [andromda] at >> > >> org.andromda.core.ModelProcessor.process(ModelProcessor.java:246) >> > [andromda] at >> > >> org.andromda.core.ModelProcessor.process(ModelProcessor.java:142) >> > [andromda] at >> > >> >org.andromda.core.anttasks.AndroMDAGenTask.execute(AndroMDAGenTask.java: >22 >> 0) >> > [andromda] at >> > >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) >> > [andromda] at >> > org.apache.tools.ant.Task.perform(Task.java:364) >> > [andromda] at >> > org.apache.tools.ant.Target.execute(Target.java:301) >> > [andromda] at >> > >> org.apache.tools.ant.Target.performTasks(Target.java:328) >> > [andromda] at >> > >> org.apache.tools.ant.Project.executeTarget(Project.java:1215) >> > [andromda] at >> > >> org.apache.tools.ant.Project.executeTargets(Project.java:1063) >> > [andromda] at >> > org.apache.tools.ant.Main.runBuild(Main.java:632) >> > [andromda] at >> > org.apache.tools.ant.Main.startAnt(Main.java:183) >> > [andromda] at >> > >> org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) >> > [andromda] at >> > >> org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) >> > [andromda] Caused by: >> > >> org.andromda.translation.validation.OCLIntrospectorException: >> > org.andromda.translation. >> > validation.OCLIntrospectorException: >> > java.lang.reflect.InvocationTargetException >> > [andromda] at >> > >> >org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospect >or >> .java:44) >> > [andromda] at >> > >> >org.andromda.cartridges.bpm4struts.metafacades.StrutsParameterLogic.vali >da >> teInvariants(Stru >> > tsParameterLogic.java:1111) >> > [andromda] at >> > >> >org.andromda.core.metafacade.MetafacadeBase.validate(MetafacadeBase.java >:6 >> 8) >> > [andromda] at >> > >> >org.andromda.core.metafacade.MetafacadeFactory.internalCreateMetafacade( >Me >> tafacadeFactory.j >> > ava:292) >> > [andromda] ... 18 more >> > [andromda] Caused by: >> > >> org.andromda.translation.validation.OCLIntrospectorException: >> > java.lang.reflect.Invocat >> > ionTargetException >> > [andromda] at >> > >> >org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospect >or >> .java:67) >> > [andromda] at >> > >> >org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospect >or >> .java:37) >> > [andromda] ... 21 more >> > [andromda] Caused by: >> > java.lang.reflect.InvocationTargetException >> > [andromda] at >> > >> sun.reflect.GeneratedMethodAccessor198.invoke(Unknown >> > Source) >> > [andromda] at >> > >> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor >Im >> pl.java:25) >> > [andromda] at >> > java.lang.reflect.Method.invoke(Method.java:324) >> > [andromda] at >> > >> >org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2 >16 >> ) >> > [andromda] at >> > >> >org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:1 >62 >> ) >> > [andromda] at >> > >> >org.andromda.translation.validation.OCLIntrospector.invoke(OCLIntrospect >or >> .java:63) >> > [andromda] ... 22 more >> > [andromda] Caused by: >> > java.lang.NullPointerException >> > [andromda] at >> > >> >org.andromda.cartridges.bpm4struts.metafacades.StrutsParameterLogicImpl. >ha >> ndleIsTable(Strut >> > sParameterLogicImpl.java:161) >> > [andromda] at >> > >> >org.andromda.cartridges.bpm4struts.metafacades.StrutsParameterLogic.isTa >bl >> e(StrutsParameter >> > Logic.java:497) >> > [andromda] ... 28 more >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 1) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSta >> > teLogicImpl[cadastrar Cargas da OS]:The name of this >> > final state must not >> > be null and exactly match the name o >> > f one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 2) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSta >> > teLogicImpl[cadastrar Componente da Movimentacao de >> > Carga]:The name of >> > this final state must not be null and e >> > xactly match the name of one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 3) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSta >> > teLogicImpl[cadastrar Componentes da Movimentacao >> > RTM]:The name of this >> > final state must not be null and exact >> > ly match the name of one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 4) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSta >> > teLogicImpl[cadastrar Componentes Importados com >> > Suspensao Tributaria]:The >> > name of this final state must not b >> > e null and exactly match the name of one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 5) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSta >> > teLogicImpl[cadastrar fonte de dados]:The name of >> > this final state must >> > not be null and exactly match the name >> > of one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 6) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSta >> > teLogicImpl[cadastrar fonte legal]:The name of this >> > final state must not >> > be null and exactly match the name of >> > one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 7) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSta >> > teLogicImpl[cadastrar Item da Movimentacao de >> > Carga]:The name of this >> > final state must not be null and exactly >> > match the name of one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 8) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSta >> > teLogicImpl[cadastrar Item da Movimentacao de >> > Estoque]:The name of this >> > final state must not be null and exact >> > ly match the name of one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 9) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSta >> > teLogicImpl[cadastrar Movimentacao Rtm]:The name of >> > this final state must >> > not be null and exactly match the na >> > me of one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 10) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSt >> > ateLogicImpl[Cadastrar Tipo de Documento >> > Pessoal]:The name of this final >> > state must not be null and exactly ma >> > tch the name of one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 11) >> > >> org.andromda.cartridges.bpm4struts.metafacades.StrutsFinalSt >> > ateLogicImpl[Verificar Execucao Automatica]:The name >> > of this final state >> > must not be null and exactly match th >> > e name of one use-case >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 12) >> > >> org.andromda.metafacades.uml14.OperationFacadeLogicImpl[busc >> > arCargasDocumento]:Each operation needs a return >> > type, you cannot leave >> > the type unspecified, even if you want >> > void you'll need to explicitely specify it. >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 13) >> > >> org.andromda.metafacades.uml14.OperationFacadeLogicImpl[busc >> > arCargasDocumentoOrigem]:Each operation needs a >> > return type, you cannot >> > leave the type unspecified, even if yo >> > u want void you'll need to explicitely specify it. >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 14) >> > >> org.andromda.metafacades.uml14.OperationFacadeLogicImpl[busc >> > arMovCargaDocumento]:Each operation needs a return >> > type, you cannot leave >> > the type unspecified, even if you wa >> > nt void you'll need to explicitely specify it. >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 15) >> > >> org.andromda.metafacades.uml14.OperationFacadeLogicImpl[prep >> > ararImpressao]:Each operation needs a return type, >> > you cannot leave the >> > type unspecified, even if you want voi >> > d you'll need to explicitely specify it. >> > [andromda] ERROR [AndroMDA:VALIDATION:ERROR] 16) >> > >> org.andromda.metafacades.uml14.ParameterFacadeLogicImpl[null >> > ]:Each parameter needs a type, you cannot leave the >> > type unspecified. >> > [andromda] INFO [AndroMDA] completed model >> > processing, TIME --> >> > 4057.915[s] - 16 VALIDATION ERROR(S) >> > >> > I'm using the same model I sent to you. Any hints ? >> > >> > Walter >> > >> > "Chad Brandon" <[EMAIL PROTECTED]> grava: >> > >Ah okay...yeah I thought you meant sourceforge was >> > back up again and so >> > >you >> > >tried it. >> > > >> > >----- Original Message ----- >> > >From: "Walter Mour�o" <[EMAIL PROTECTED]> >> > >To: "Chad Brandon" <[EMAIL PROTECTED]> >> > >Sent: Monday, August 16, 2004 7:12 AM >> > >Subject: Re: Help! >> > > >> > > >> > >> I could not get the sources. The anonymous cvs >> > access is down since >> > >friday. >> > >> >> > >> >> > >> >> > >> >>----------------------------------------------------------------------- >-- >> - >> > >- >> > >> Walter Itamar Mour�o - Diretor de Tecnologia e >> > Projetos - Arcadian S/A >> > >> www.arcadian.com.br >> > >> >> > >> "Chad Brandon" <[EMAIL PROTECTED]> grava: >> > >> >It fixed it for you right? >> > >> > >> > >> >----- Original Message ----- >> > >> >From: "Walter Mour�o" <[EMAIL PROTECTED]> >> > >> >To: "Chad Brandon" <[EMAIL PROTECTED]> >> > >> >Sent: Monday, August 16, 2004 7:08 AM >> > >> >Subject: Re: Help! >> > >> > >> > >> > >> > >> >> I didn't update you until now because of the >> > sourceforge cvs issue. >> > >> >> >> > >> >> See ya. >> > >> >> >> > >> >> Walter >> > >> >> >> > >> >> >> > >> >> > >> >>>---------------------------------------------------------------------- >-- >> -- >> > >> >- >> > >> >> Walter Itamar Mour�o - Diretor de Tecnologia e >> > Projetos - Arcadian >> > >S/A >> > >> >> www.arcadian.com.br >> > >> >> >> > >> >> "Chad Brandon" <[EMAIL PROTECTED]> grava: >> > >> >> >Hey Walter, >> > >> >> > >> > >> >> >The issue is fixed in current CVS, like >> > always it will take 8 hours >> > >for >> > >> >> >anon >> > >> >> >CVS to catch up to developer CVS. It ended >> > up being an issue in the >> > >> >core >> > >> >> >that actually has been there all along but >> > manifested itself now >> > >that >> > >> >OCL >> > >> >> >validation is happening. Let me know if you >> > have any more issues. >> > >> >> > >> > >> >> >Chad >> > >> >> >> > >> >> >> > >> > >> > >> > >> > >> >> > >> >> > >> >> > > >> > > >> > >> > >> > >> > >> > >> >------------------------------------------------------------------------ >-- >> - >> > Walter Itamar Mour�o - Diretor de Tecnologia e >> > Projetos - Arcadian S/A >> > www.arcadian.com.br >> > >> > >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >> _______________________________________________ >> Andromda-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/andromda-user > > --------------------------------------------------------------------------- Walter Itamar Mour�o - Diretor de Tecnologia e Projetos - Arcadian S/A www.arcadian.com.br ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
