Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

one more use-case for native build #38

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

thomasgl-orange
Copy link

The following simple sequence diagrams produces an error when rendering a png with your native build plantuml-linux-amd64-1.2023.10:

Bob->Alice: Hello
Bob<--Alice
...
Bob->Alice: Hello again
Bob<--Alice

See resulting image:
KO.png

We've detected this issue initially on our internal Kroki server, but it can also be reproduced on kroki.io:
https://kroki.io/plantuml/png/eNpzyk_StXPMyUxOtVLwSM3Jyedyyk-y0dUFC3Hp6emB-KgqFBLTEzPzkNUBAN4_FTU=

It seems that the ... syntax is the trigger here, although it's not obvious in the stacktrace.

Anyway, adding this use-case to the GraalVM configuration training seems to be enough to get the missing bits in the native image, and render the expected result:
OK.png

A test binary (linux-amd64 only) is available here: https://github.com/thomasgl-orange/plantuml/releases/tag/v1.2023.10-tgl2

@ggrossetie
Copy link
Member

Merci Thomas 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants