IllegalArgumentException

0 votes
asked Aug 22, 2023 in Bug by anonymous

Hello.

The following diagram gives the attached IllegalArgumentException.

The exception is raised in a markdown file when shown in a gitlab repository. I Cannot reproduce the issue locally.

@startuml
start
:Creazione registro;
:Generazione attività;
:Creazione code;
note left
    coda di esecuzione
    coda dei risultati
end note
fork
    :Esecutore;
    note left : eseguito in un\nthread separato
fork again
    :Direttore;
endfork
stop
@enduml

https://plantuml.gitlab-static.net/png/U9nDZy4DmZ0CHU-UmdEabqg0M8ABrPXYKUBASJWm3Rkm64cAK7solxxVjyViP5uU2_G6mi6ONgA9qNYMxAO3X3CdjfzCxl8K_xo7lNdIo0CaTSQ5hmvOgsg4KP0pJwNRTZ8BckIoEBa0fuXj5wvgzsuAfxRaQfNQvZyPG-FDHLnH4fPqINwhPqJCl9AHQuSWpIHfGnt5s3TK3UeHsNM5iKxjyo-985cn

1 Answer

0 votes
answered Aug 22, 2023 by plantuml (295,000 points)

This is probably due to different version of PlantUML.

You can check both version (gitlab and locally) using:

@startuml
version
@enduml

Can you tell us the result of both?

Thanks!

commented Aug 22, 2023 by anonymous

Hello,

it seem that the difference is in the dot-graphviz version, locally it is using the one installed on my system.

locally (github release plantuml-1.2023.10.jar):

  • PlantUML version 1.2023.10 (Wed Jul 12 17:54:07 CEST 2023)(GPL source distribution)
  • Dot version: dot - graphviz version 2.43.0 (0) Installation seems OK. File generation OK
  • The rest of the image is equal to the gitlab one

Gitlab:

  • PlantUML version 1.2023.10 (Wed Jul 12 17:54:07 UTC 2023)(GPL source distribution)
  • Dot version: dot - graphviz version 8.1.0 (20230707.0739) Installation seems OK. File generation OK

image

...