Ensure that PlantUML does not crash when EmbeddedDiagram meets wrap_width.

0 votes
asked Jul 20 in Bug by F.

Currently (with PlantUML 1.2021.7), PlantUML crashes with this code:


'If you uncomment this line, then the UnsupportedOperationException on EmbeddedDiagram$Draw.splitInTwo() does not happen
skinparam wrap_width 150

left to right direction

actor User

User --> (1. select template)
User --> (2. write uml diagram)

note right of User
    skinparam wrap_width 150

    while (count < max?)
      :count = count + increment;

end note


It is expected that PlantUML should not crash.


1 Answer

0 votes
answered Jul 27 by plantuml (259,840 points)

Many thanks for the report.

This has been fixed on the online server.

You can download last beta here http://beta.plantuml.net/plantuml.jar