Bugs item #860900, was opened at 2003-12-16 12:06
Message generated for change (Settings changed) made by mattes3
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=536545&aid=860900&group_id=73047
Category: Core (generator)
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Matthias Bohlen (mattes3)
Assigned to: Matthias Bohlen (mattes3)
Summary: NPE if no multiplicity on association
Initial Comment:
Hello,
there is a bug in
org.andromda.core.uml14.DirectionalAssociationEnd.isM
any(). This method crashes, if there is no explicit
multiplicity on an association. Please patch as follows:
Multiplicity multiplicity = ae.getMultiplicity();
if (multiplicity == null)
{
return false; // no multiplicity means
multiplicity "1"
}
Collection ranges = multiplicity.getRange();
Cheers...
Matthias
----------------------------------------------------------------------
>Comment By: Matthias Bohlen (mattes3)
Date: 2003-12-30 13:21
Message:
Logged In: YES
user_id=269920
Fixed in V2.1.2final.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=536545&aid=860900&group_id=73047
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel