“DITAA has crashed”

+1 vote
asked Feb 14 in Bug by Flupp (140 points)

PlantUML asked me to send the following diagram here.

@startditaa
         /------\
         |      |
        +++    +++
        | |    | |
      /-+++-\  +-+
      |     |
     +++   +++
     | |   | |
     +-+   +-+
@endditaa

Note: The leading spaces are important.

As of 2025-02-14, this results in the error “DITAA has crashed” here.

2 Answers

+1 vote
answered Mar 4 by dickmaley (4,020 points)

As of March 4th 2025 I get the same error.  The error appears to have something to do with either the first or last line of the diagram.

@startditaa
         /++++++
         |      |
        +++    +++
        | |    | |
      /-+++-\  +-+
      |     |
     +++   +++
     | |   | |
     +-+   +-+
@endditaa

produces

image

with no error.  Adding a backslash to the end of the first line causes an error.

Modifying the last line to "+-+   +-" from "+-+   +-+" eliminates the error and produces

image

There are ways to produce the image but with extra content like

@startditaa < -S
.
         /------\
         |      |
        +++    +++
        | |    | |
      /-+++-\  +-+
      |     |
     +++   +++
     | |   | |
     +-+   +-+
@endditaa

resulting in

image

Not a real solution but rather a hack.

Dick Maley

0 votes
answered Mar 4 by The-Lu (79,040 points)

Hello F.,

Thanks for the report. yes
Yes there is a bug on plantuml core side.

This issues will be in the same batch as:

Awaiting the correction...

Regards,
Th.

...