Description
Attempting to create a sequence diagram where a call to a constructor is followed to a call to the same object after a call to another object leads to an endless loop.
Steps to reproduce
Create the sequence diagram above
Select the Call Edge tool
Drag a new call edge from the call node on B to the lifeline of C
The diagram disappears and the tools enters an unstable state.
Configuration
JetUML Release: 3.3
OS + version: All
Java version: All
Additional information
The issue is located in CallNodeViewer. The error is that the code to compute the y-position of the new call node requires to detect the max Y position of any call node of this implicit parameter, but this check includes the current call node, which triggers the endless loop.
Description Attempting to create a sequence diagram where a call to a constructor is followed to a call to the same object after a call to another object leads to an endless loop.
Steps to reproduce
B
to the lifeline ofC
Configuration
Additional information The issue is located in
CallNodeViewer
. The error is that the code to compute the y-position of the new call node requires to detect the max Y position of any call node of this implicit parameter, but this check includes the current call node, which triggers the endless loop.