Please Reply-all in the future .. other may benefit from your info, thanks.
Martin, Are you sure all the action states have names ? I mean, make sure that when you open the specification (right-click) there is a value in the 'name' field MagicDraw allows to enter names on the diagrams without having those names persisted into the model itself, I call this 'labeling' Can you verify this ? My guess is the NPE is coming from the fact that one of the names is null hth -- Wouter > -----Original Message----- > From: Martin West [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 11:00 PM > To: [EMAIL PROTECTED] > Subject: RE: [Andromda-user] null pointer building BPM4 example > > Thanks guys, > I an informative message would be much easier to diagnose that half > dozen stack traces. > > Well I have been through the model which is the one in the BPM4Struts > example, and all the transitions which have which have <<FrontEndEvent>> > now have have a trigger(time) with a name, they didnt originally. Apart > from the transition from initial state, where MD does not give you the > option to specify a trigger. However still getting the null pointer. > > On Tue, 2004-07-06 at 21:40, Wouter Zoons wrote: > > Many validation messages are still missing > > > > Because running them might trigger new exceptions if you're not too > > careful with the OCL > > > > I have finished my current project within next week, after that I'll > > have plenty of time to correct these kinda things (because you're > > absolutely right, we need them!) > > > > > > -- Wouter > > > > > -----Original Message----- > > > From: Chad Brandon [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, July 06, 2004 10:36 PM > > > To: [EMAIL PROTECTED]; 'Carlos Cuenca'; 'Martin West'; > > > [EMAIL PROTECTED] > > > Subject: Re: [Andromda-user] null pointer building BPM4 example > > > > > > > > > ----- Original Message ----- > > > From: "Wouter Zoons" <[EMAIL PROTECTED]> > > > To: "'Carlos Cuenca'" <[EMAIL PROTECTED]>; "'Martin West'" > > > <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > > Sent: Tuesday, July 06, 2004 4:32 PM > > > Subject: RE: [Andromda-user] null pointer building BPM4 example > > > > > > > > > > That is correct, alternatively the trigger might be missing a name > > > > > > -- However shouldn't this been rendered in a validation message? > > > > > > > > > > > > -----Original Message----- > > > > > From: [EMAIL PROTECTED] > > [mailto:andromda-user- > > > > > [EMAIL PROTECTED] On Behalf Of Carlos Cuenca > > > > > Sent: Tuesday, July 06, 2004 1:57 AM > > > > > To: Martin West; [EMAIL PROTECTED] > > > > > Subject: Re: [Andromda-user] null pointer building BPM4 example > > > > > > > > > > I think that you may have not set the name on a <<FrontEndEvent>> > > > > > transition. Transitions should have a trigger and this trigger > > must > > > > have > > > > > a name specified within the signal. > > > > > > > > > > Carlos > > > > > > > > > > Martin West wrote: > > > > > > > > > > >I am running with M2-SNAPSHOT from anon. > > > > > >The model was produced with MD 7.5 and I get > > > > > > [andromda] INFO [AndroMDA] > > > > > > [andromda] INFO [AndroMDA] A n d r o M D A - 3.0M2-SNAPSHOT > > > > > > [andromda] INFO [AndroMDA] > > > > > > [andromda] INFO [AndroMDA] found translation-library --> > > 'query' > > > > > > [andromda] INFO [AndroMDA] found translation-library --> > > > > 'validation' > > > > > > [andromda] INFO [AndroMDA] found cartridge --> 'bpm4struts' > > > > > > [andromda] INFO [AndroMDA] found cartridge --> 'ejb' > > > > > > [andromda] INFO [AndroMDA] found cartridge --> 'hibernate' > > > > > > [andromda] INFO [AndroMDA] found cartridge --> 'java' > > > > > > [andromda] INFO [AndroMDA] found cartridge --> 'meta' > > > > > > [andromda] INFO [AndroMDA] found cartridge --> 'struts' > > > > > > [andromda] INFO [AndroMDA] found cartridge --> 'webservice' > > > > > > [andromda] INFO [AndroMDA] Input model --> > > > > > > > > > > > >'file:/mnt/hda6/tools/BPM4StrutsExample/mda/src/uml/BPM4StrutsExample.x > > > > mi > > > > > ' > > > > > > [andromda] INFO [AndroMDA] found metafacades --> 'bpm4struts' > > > > > > [andromda] INFO [AndroMDA] found metafacades --> 'ejb' > > > > > > [andromda] INFO [AndroMDA] found metafacades --> 'hibernate' > > > > > > [andromda] INFO [AndroMDA] found metafacades --> 'meta' > > > > > > [andromda] INFO [AndroMDA] found metafacades --> 'default' > > > > > > [andromda] INFO [AndroMDA] found metafacades --> 'webservice' > > > > > > [andromda] ERROR [Cartridge] Error performing > > > > > >Cartridge.processWithTemplate with template > > > > > >'templates/StrutsAction.vsl', template context > > > > '{securityEnabled=false, > > > > > >class=org.andromda.metafacades.uml14.ModelElementFacadeLogicImpl, > > > > > >securityRealm=other, > > > > > >[EMAIL PROTECTED]' and > > > > cartridge > > > > > >'bpm4struts' > > > > > > [andromda] > > org.apache.velocity.exception.MethodInvocationException: > > > > > >Invocation of method 'getActionPath' in class > > > > > > > >org.andromda.cartridges.bpm4struts.metafacades.StrutsActionLogicImpl > > > > > >threw exception class java.lang.NullPointerException : null > > > > > > [andromda] at > > > > > > > > > > > >org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdenti > > > > fi > > > > > er.java:193) > > > > > > [andromda] at > > > > > > > > > > > >org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferen > > > > ce > > > > > .java:175) > > > > > > > > > > > >Any suggestions? > > > > > >Thanks > > > > > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > > > >This SF.Net email sponsored by Black Hat Briefings & Training. > > > > > >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > > > > >digital self defense, top technical experts, no vendor pitches, > > > > > >unmatched networking opportunities. Visit www.blackhat.com > > > > > >_______________________________________________ > > > > > >Andromda-user mailing list > > > > > >[EMAIL PROTECTED] > > > > > >https://lists.sourceforge.net/lists/listinfo/andromda-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email sponsored by Black Hat Briefings & Training. > > > > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > > > > digital self defense, top technical experts, no vendor pitches, > > > > > unmatched networking opportunities. Visit www.blackhat.com > > > > > _______________________________________________ > > > > > Andromda-user mailing list > > > > > [EMAIL PROTECTED] > > > > > https://lists.sourceforge.net/lists/listinfo/andromda-user > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by Black Hat Briefings & Training. > > > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > > > digital self defense, top technical experts, no vendor pitches, > > > > unmatched networking opportunities. Visit www.blackhat.com > > > > _______________________________________________ > > > > Andromda-user mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/andromda-user > > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user