Teaching Case — A Message to a Lifeline That No Longer Exists
A session is closed and then used. In every tool that draws lifelines the full height of the figure, the arrow lands on an ordinary dashed line and looks exactly like a message to a live object — which is why the defect survives review. Here the lifeline stops at the destruction cross, so the message visibly lands on nothing AND the panel says which line destroyed it. The second finding is its consequence: the call that message opened can never be answered.
Make it your own.
sequence "Session teardown"
actor User
participant Api "API"
participant Session "Session"
database Store "Session store"
User -> Api : logout
Api -> Session : invalidate()
Session -> Store : delete(sid)
Store reply Session : ok
Session reply Api : invalidated
Api destroy Session
Api -> Session : touch(sid)
Api reply User : 204 No Content