-
assigned issue to
Moving message calling an implementation class causes crash
Issue #504
resolved
Consider a message call to an operation of an implementation class. When attempting to move this message up/down, the following crash occurs:
Caused by: java.lang.IndexOutOfBoundsException: toIndex = 18
at java.util.SubList.<init>(AbstractList.java:622)
at java.util.RandomAccessSubList.<init>(AbstractList.java:775)
at java.util.AbstractList.subList(AbstractList.java:484)
at ca.mcgill.sel.ram.controller.FragmentsController.moveFragment(FragmentsController.java:850)
at ca.mcgill.sel.ram.controller.MessageController.moveMessage(MessageController.java:239)
...
This is because there is no message view defined, which means nested message behaviour is considered to be present. A test case should cover this. However, since no nested message behaviour is possible anymore, this part could be removed completely.
Comments (3)
-
reporter -
reporter References
#504: Adds test case to capture moving of call to operation of implementation class.→ <<cset 6869b0568173>>
-
reporter - changed status to resolved
Resolves
#504: Removes handling of nested behaviour for implementation classes.→ <<cset f53df768199f>>
- Log in to comment