"Activate/Deactivate already done" error in sequence diagram

+1 vote
asked Mar 18, 2020 in Bug by stepaunov (120 points)
@startuml
a-> b: test
activate a

deactivate a
activate a
@enduml

This sequence diagram code causes an "Activate/Deactivate already done" error.
Tested in VS Code with beta .jar (http://beta.plantuml.net/plantuml.jar)
and online at www.plantuml.com/plantuml, result: 

result

1 Answer

0 votes
answered Jan 22, 2021 by Serge Wenger Work (14,600 points)

You can add an hidden message (a-[hidden]->a)

See on PlantUML Server

...