Martin West wrote:

Well, I tried copying the model from the examples into my project, and
it failed with the following error

[andromda] INFO [AndroMDA] Input model -->
'file:/mnt/hda6/tools/BPM4StrutsExample/mda/src/uml/BPM4StrutsExample.xmi'
[andromda] INFO [AndroMDA] Referenced model -->
'file:/mnt/hda6/tools/BPM4StrutsExample/mda/src/uml/andromda-profile-3.0M2-SNAPSHOT.xml.zip'
[andromda] org.netbeans.lib.jmi.util.DebugException:
/mnt/hda6/tools/BPM4StrutsExample/mda/src/uml/andromda-profile-3.0M2-SNAPSHOT.xml.zip (No such file or directory)


... I do not underestand why is looking for that file on that folder, are you sure you have all your libraries correctly installed?,

so I copied in the reference model and then got this error

[andromda] INFO  [AndroMDA] Referenced model -->
'file:/mnt/hda6/tools/BPM4StrutsExample/mda/src/uml/andromda-profile-3.0M2-SNAPSHOT.xml.zip'
[andromda] org.netbeans.lib.jmi.util.DebugException: Content is not
allowed in prolog.

I think I will return in a few weeks time to see if things improve.


...it is up to you!, but I started a month ago and I am already familiarized with the tool, of course at the begining takes some effords, but for sure you will find great results! :-)

Carlos

On Thu, 2004-07-08 at 00:19, Carlos Cuenca wrote:


...you can download the source code for the example working for the M1 release from the team server at team.andromda.org, you can see all the stereotypes and signals there.... once you know how to play arround I recomend you to download the version from the CVS and try with the new features like OCL, displaytags etc....

Carlos

Martin West wrote:



Carlos, could someone send me source for the bpm4struts modeling
example, I assume the html file is generated, and I will fill out the
example with more details as per my learning experience.


On Tue, 2004-07-06 at 23:43, Carlos Cuenca wrote:




Hi Martin,

I had been looking the model and I think the problem is because you had market the trigger as time and it should be a signal. also you should mark the action states that will be shown as web pages with the <<FrontEndView>>

Carlos

Martin West wrote:





Thanks guys,
I an informative message would be much easier to diagnose than 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.

Current model attached.

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

Reply via email to