I am getting to the getActionRoles error.
I am just "scratching" the surface of andromda, but I
noticed the follwing looking at the code:
1. In the template the function is invoked before
checking the option for security. What is the reason
we check for the roles even if the security might be
disabled ?
2. The error is not in the getActionRoles itself, but
comes from the collectTransitions method. For some
reason the list of transitions contains a null
element. May be someone more experienced can look at
the code that maintains the UML structure to see what
could make a null transition to be inserted.
3. I did modify slightly the collectTransitions method
to make it more robust to null transitions like this:
System.out.println("transition =" + transition);
if (processedTransitions.contains(transition))
{
return;
} else
if(transition == null) //GC
{
//for some reason the transition is null
return;
}
else
{
processedTransitions.add(transition);
}
It goes over the error but complains about the
getFullPAth in StrutsJspLogicImpl class. I guess is
has the same root error.
I checked against the rules in the user guide and I
think I got all the names in... Even if it as user
error, may be an exception can be thrown that gives a
better clue of what is happening...
Just my 0.02 :)
Gabriela
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel