Crash with Teoz engine and parallel notes

0 votes
asked Jun 7, 2016 in Bug by anonymous
edited Jun 7, 2016

Hi!

I was trying to use the new Teoz engine to produce parallel event in the sequence diagram. However, when I was trying to use parallel notes at the same time, I ran into a crash. It is difficult to know what goes wrong, but below is a minimum test case for the crash:

@startuml
!pragma teoz true
participant P1
rnote over P2 : note 1
/ note over P1 : note 2
@enduml

 

Commenting any of the lines will avoid the crash.

Plantuml version: 8041, java version 1.8.0_91, graphviz version 2.38.0

 

Regards, Ville Eerola

1 Answer

0 votes
answered Jun 8, 2016 by plantuml (294,960 points)

Thanks for the feedback, it's indeed a bug, and we will definitively correct it.

However, you can turn around the issue by exchanging the order of notes declaration
(the crash beeing caused because the first note is defined in second position)

@startuml
!pragma teoz true
participant P1
rnote over P1 : note 1
/ note over P2 : note 2
@enduml


Thanks again!


 

...