Closed GoogleCodeExporter closed 9 years ago
Original comment by CraigBry...@gmail.com
on 29 May 2014 at 7:25
[deleted comment]
[deleted comment]
This error also occurs with the Umple compiler outside of umpleonline if a
class is given two symmetric reflexive associations with the same role name.
Instead of giving the expected warning (E019 Duplicate Association), the
following error appears:
Unable to create ErrorMessage due to aPosition
Original comment by CraigBry...@gmail.com
on 29 May 2014 at 8:00
This was a two part problem. The first problem, which caused the "FATAL ERROR",
instead of a normal Umple syntax error message was that the token positions for
symmetric reflexive associations were not set when the token was analyzed.
The second problem occurred when checking for duplicate association names. The
symmetric reflexive associations were being checked at both ends for a role
name. Since there is only one role name for this type of association, the empty
role name was added to the list of names, and a second symmetric reflexive
association (with any role name) would throw a duplicate association name
error.
Original comment by CraigBry...@gmail.com
on 30 Jun 2014 at 3:21
Original issue reported on code.google.com by
CraigBry...@gmail.com
on 28 May 2014 at 5:14